7

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

Declare Sub AAAA Lib "kernel32" Alias "AAAA"

by an answer here on Stack Overflow.

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

  • What are all the functions available in "kernel32"?

  • What are the other available (free) LIBS?

  • Can I make my own?

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

braX
  • 11,506
  • 5
  • 20
  • 33
  • 2
    Try http://www.jkp-ads.com/articles/apideclarations.asp, http://allapi.mentalis.org/apilist/apilist.php and http://www.bettersolutions.com/vba/VFD153/LA416011411.htm for starters. Google is very useful here. – JimmyPena Jan 06 '12 at 19:44
  • 1
    @JP.: IMHO: your comment is worth an answer (provided you elaborate it a little more) as it answers most part of the questions. – JMax Jan 09 '12 at 09:03

2 Answers2

7

What you are looking at are Windows API declarations.

Several popular examples include:

As far your specific questions:

What are all the functions available in "kernel32"

A DLL viewer such as DLL Export Viewer or ApiViewer may be useful here.

What are the other available (free) LIBS

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

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?

JimmyPena
  • 8,694
  • 6
  • 43
  • 64
3

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

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

Sid

Siddharth Rout
  • 147,039
  • 17
  • 206
  • 250