> I have been trying to write some code to extract the names of the
> functions exported from a dll via the def file. (NOT USE the provided
> utilities like the dependency walker)
> Has anyone got ideas?.
> I do not know the ordinal numbers, or have the .dbg file to use the
> dbghelp functions.
> thanks in advance
You will have to read .edata section of a dll.
Check Winnt.h file in /Include directory of Visual Studio.
Good description of NT Portable Executable File Format can be found in
<<The Portable Executable File Format from Top to Bottom>> article (MSDN).
And take a look at Exeview and Pefile SDK samples.