Enumerating Exports in a DLL...
Well, I just tried to post crap-assed code about importing a list of functions from a dll (the "old-fasion way"), but Explorer Bomb'd out.
So, I would love for someone to tell me how to enumerate the function'z in a DLL (as "Dependency Walker" doe'z that come'z with MSVC++).
PLEASE Help! SPH :confused: :confused: :confused:
Re: Enumerating Exports in a DLL...
Quote:
Originally posted by minime6696
[ell, I just tried to post crap-assed code about importing a list of functions from a dll (the "old-fasion way"), but Explorer Bomb'd out.
HI !
What's the "old-fashion way" in your opinion ?
Actually you have to deal with PE-File Format.
EXE files - as well as DLL files are using the PE
format. Usually there is no documented way
to use system level functions in user applications.
Nevertheless Windows offers the Library
"imagehlp.dll" which contains all necessary
functions to deal with PE images. In particular
you will need
SymEnumerateSymbols()
Quote:
Originally posted by minime6696
So, I would love for someone to tell me how to enumerate the function'z in a DLL (as "Dependency Walker" doe'z that come'z with MSVC++).
Check the MSDN - there's source available.
You should also check:
http://www.microsoft.com/msj/default...197/newnav.htm
Quote:
Originally posted by minime6696
PLEASE Help! SPH :confused: :confused: :confused: [/B]
Tell me if there is anything else you'd like to know,
I know the PE stuff quite well :-)
In case you know how to give a memory mapped
file as parameter in order to load a library, don't
hesitate to tell me ! - That's the problem I'm
currently facing !
regards
M!ke