Click to See Complete Forum and Search --> : How can I know which functions are in a DLL file


Sam_Cheung
August 28th, 2001, 03:28 AM
Hello ,
Sometimes we can call functions in a DLL file. How can I check which functions are included in a DLL file?
Thanks,

Sam

berta
August 28th, 2001, 03:34 AM
by code U must use "typelib information" library.
find it in project->references

by vb tools U must reference DLL and type "F2".

hi,brt

<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>

Cimperiali
August 28th, 2001, 03:39 AM
If you're speaking of Com Dll (those you can call by adding a reference to project), you can use object browser (pressing F2 in Vb ide) or reference the dll in your projetc an then type the variable instancing the dll and a point.
(ie: dim xxx as mydll
xxx.)
you will receive an aid from intellisense.
If you are speaking about non Com Dll (such as when you use an Api function), you may find some information using "dependecy walker" called "depends" from visual studio tools. But it may not help a lot. You should look in the net for some tool like Api-guide or similar (maybe C+ Gurus can help you more in this)


Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Micahel
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.

The Rater

Curt
August 28th, 2001, 07:59 AM
For a standard DLL, in WinNT, right click
on the DLL file in Explorer and select the
'Quick View' function
It will display the Import/Export tables etc.
I don't think this works for Win9X

Curt