I was just thinking, is it possible to list all the functions in a given DLL?
I was just thinking, is it possible to list all the functions in a given DLL?
Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.
- Mike McShaffry
dumpbin /EXPORTS dllproj.dll
You can get a list of function names, but you can't get a list of the parameters they take.
That's the only problem - I was just about to reply about it. Anyone know of a way to solve this? AFAIK Visual Studio Depends doesn't list the parameters either (unless I'm not using it properly).
Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.
- Mike McShaffry
No, you can't get that information from the dll has bithub has explained. At best you may be able to get the total number of bytes in parameters passed to a function but, without knowing the number and types of parameters, this is next to useless.
Only the lib documentation will give you the information you want - or, perhaps, a lot of laborious empirical investigation.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.
If you really need detailed info such as calling syntax, return values etc. on DLL's, then check out a commercial product call PE Explorer.
IMO, the docs are just as good if not better AND they're free.