Excel 2003 VBA - kernel32 函数 - 和其他库

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8755876/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-11 14:51:14  来源:igfitidea点击:

Excel 2003 VBA - kernel32 functions - and other libs

excelexcel-vbawindows-xpexcel-2003vba

提问by

I've been programming in VBA for Excel 2003 for some years now, and only recently I've been introduced to:

几年来,我一直在为 Excel 2003 编写 VBA 程序,直到最近才开始了解:

Declare Sub AAAA Lib "kernel32" Alias "AAAA"

By an answer here in stackoverflow.

通过stackoverflow 中的一个答案

What I've been unable to find is (no googlefu could help me):

我一直找不到的是(没有 googlefu 可以帮助我):

  • What are all the functions available in "kernel32"

  • What are the other available (free) LIBS

  • Can I make my own?

  • kernel32”中可用的所有功能是什么

  • 其他可用(免费)LIBS 是什么

  • 我可以自己做吗?

I just need some pointers, ideias and/or tutorial links to point me in the right direction.

我只需要一些指针、ideias 和/或教程链接来指向正确的方向。

Thank you all in advanced

先谢谢大家

采纳答案by JimmyPena

What you are looking at are Windows API declarations.

您正在查看的是Windows API 声明

Several popular examples include:

几个流行的例子包括:

As far your specific questions:

至于你的具体问题:

What are all the functions available in "kernel32"

“kernel32”中可用的所有功能是什么

A DLL viewer such as DLL Export Vieweror ApiViewermay be useful here.

DLL 查看器(例如DLL Export ViewerApiViewer)在这里可能很有用。

What are the other available (free) LIBS

其他可用(免费)LIBS 是什么

See the links I posted, although I imagine there are dozens or hundreds more proprietary DLLs that we'll never find.

请参阅我发布的链接,尽管我想还有数十或数百个我们永远找不到的专有 DLL。

Can I make my own?

我可以自己做吗?

Yes, but I only have experience creating ActiveX DLLs so I can't speak to that. I did find one example, however: What is a DLL?

是的,但我只有创建 ActiveX DLL 的经验,所以我不能说。但是,我确实找到了一个示例:什么是 DLL?

回答by Siddharth Rout

Here is a complete(I think) list. Hope this helps?

这是一个完整的(我认为)列表。希望这可以帮助?

http://eric.aling.tripod.com/PB/kernel.htm

http://eric.aling.tripod.com/PB/kernel.htm

Sid

锡德