
DLL function calling problems (explicit - only knowing function name at runtime)
Quote:
>I believe lies in the DLL I create itself. It is an
MFC extension DLL. I can
>load the DLL OK using "LoadLibrary" but when I call "GetProcAddress" it
>returns NULL instead of the functino pointer. Obviously the function name I
>am passing is the correct one. Sombody told me it could be C++'s name
>mangling?
Greg,
Export the symbol in the DEF file, and have a look at the depends
program (with the recent Win32 SDK), or dumpbin - these utilities will
let you see the exported symbol names - which will help you.
Dave
----
Address is altered to discourage junk mail.
Remove ".---" for the real address.
http://www.*-*-*.com/