What Is In the Libraries?

C

Chaplain Doug

I have gotten a lot of help and code from more advanced
users. Many times I get code that references libraries
like:

kernel32
wininet.dll
user32
winmm.dll
netapi32.dll
advapi32.dll

and so on. How may I find out what libraries are
available and what functions are found in each library?
Thanks for the help.
 
D

Dirk Goldgar

Chaplain Doug said:
I have gotten a lot of help and code from more advanced
users. Many times I get code that references libraries
like:

kernel32
wininet.dll
user32
winmm.dll
netapi32.dll
advapi32.dll

and so on. How may I find out what libraries are
available and what functions are found in each library?
Thanks for the help.

I'm not too strong on these myself, but I copy from the best. Here are
some places to look:

http://msdn.microsoft.com/library/default.asp
(note: look under "Windows API". Code is generally C/C++)

http://www.mvps.org/vbnet/
(lots of good code to call API functions from VB,
most of which can be easily used in Access VBA)

http://www.mentalis.org/index2.shtml
(formerly allAPI.net; no longer maintained,
but home of an excellent API guide)
 
G

Guest

The links you gave seem to be a step or two removed from
what I am after. Is there any tool or documentation on
Windows 2000 or in Access 2002 that allows me to see what
functions are in the libraries (.dll and .lib)? Thanks
 
D

Dirk Goldgar

The links you gave seem to be a step or two removed from
what I am after. Is there any tool or documentation on
Windows 2000 or in Access 2002 that allows me to see what
functions are in the libraries (.dll and .lib)? Thanks

There's nothing built into Access that lets you examine the Windows API
directly, and no WinAPI documentation that came with Access. If you
have the Windows SDK, I expect you'll have header files for the various
functions, but aside from that I think you are out of luck. Did you
download the API guide from the Mentalis link I posted. That pretty
much has it all.
 
D

Dan Artuso

Hi,
The Object Browser in Access will allow you to 'see' inside of
COM dlls. With any code module open, go to Tools->References
and there you will see all (well maybe not all) the .dll and .lib files.
Just set a reference to the ones you're interested in.

Then open up the Object Browser and select the library you wish to view.
Access does not have a tool to see the exported functions inside a 'regular' dll
although Visual Basic does.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top