Hi,

Currently I'm using LoadLibrary() to load a DLL I compiled. However, I'm finding that GetProcAddress() will not work unless an EXP file is bundled with the DLL.

Is there a way of getting GetProcAddress() to work with non-mangled names, but without having to have a DEF or EXP file? Could the export information perhaps be embedded in the DLL itself?

I plan to send these extensions (dlls) to other clients, and I want to avoid sending EXP or DEF files with it since this is a potential security risk, it exposes the addresses of functions. I realize this can be obtained through other facilities, but I don't want to make it THAT easy.

My goal is to simply send a DLL (by itself) and have the application be able to import functions from it using non-mangled function names.