|
-
July 3rd, 2008, 06:39 PM
#1
DLL's and EXP files
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.
--MrDoomMaster
--C++ Game Programmer
Don't forget to rate me if I was helpful!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|