I'm programming in C++ - Win32 exe application environment.
My exe makes use of OpenGL and glew, so it needs glew32.dll to be in System folder or in the same directory of my exe.
What if i want to publish my exe without that additional DLL?
Is there a way to include the DLL inside the EXE?
[C++] Including DLLS
2 replies to this topic
Moderator* - Reputation: 5361
Posted 21 April 2012 - 09:25 AM
Well, technically yes, you could embed the DLL inside the EXE, but the EXE wouldn't be able to use it directly, and it would have to copy the embedded DLL and save it out to a file so that it could make use of it. I'm not sure why you'd want to do this though... I'd just include the DLL with the EXE.
[ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]