DLL importer

Everything else that doesn't fall into one of the other PB categories.
akee
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

DLL importer

Post by akee »

Anybody knows if there is a utility that can extract API information out from DLL files? I tried LibImporter but it is for .lib and .obj only...
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

The only API info you can extract from a .DLL is the functions names, version, and some little more. You can use ExamineLibraryFunctions(), CountLibraryFunctions(), and so on.
Documentation about what do each function is property of the .DLL creator/s and owner/s and usually don't appear into the .DLL files.
akee
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Post by akee »

Thanks Psychophanta... :D
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Re: DLL importer

Post by tinman »

akee wrote:Anybody knows if there is a utility that can extract API information out from DLL files? I tried LibImporter but it is for .lib and .obj only...
pexport 0.43 - available if you search for it on the web (I'd post a link, but I'm not at home).

implib (IIRC, or perhaps impdll) - part of Borland's compiler tools

MS also has one but I cannot remember what it is called.

You may find links if you go here which has some discussion about creating and using DLLs in the MinGW compiler, but the tools you can use (mentioned above) should be the same.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
Post Reply