Sign in to follow this  

[C++] Including DLLS

This topic is 2060 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there!
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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

This topic is 2060 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this