I want to know what functions are available from Win32.DLL

I have a dll file with some useful functions that I want to call in my application. Unfortunately, I no longer have the documentation.

Is there a way to find out which functions are exported by the DLL and their method signature?

Maybe there is a utility that lists the functions and their arguments.

To know something?

+6
dll winapi interop
source share
2 answers

The Windows SDK uses a dependent hoster GUI utility that can be used to examine the contents of a DLL:

Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules. For each module found, all functions that are exported by this module are listed and which of these functions are actually called by other modules. In another view, the minimum set of required files is displayed, as well as detailed information about each file, including the full path to the file, base address, version numbers, machine type, debugging information, etc.

Currently can be found here .

For more information on signing the method and creating inter-connection .NET code, find your DLL in the pinvoke site . You can also try their add-in for Visual Studio 2003 and 2005.

+3
source share

dumpbin / exports

( Dumpbin [1 ] is a utility in the Windows SDK)

[1] : http://msdn.microsoft.com/en-us/library/aa446532.aspx

Edit: BTW, since I see "interop" and ".NET" in tags, don't forget Reflector and pinvoke.net , (None of these help with the actual export of Win32 DLLs, of course.)

+5
source share

All Articles