Jump to content
  • Advertisement
Sign in to follow this  
Nitage

Static from DLL

This topic is 4829 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

Is there a way I can take a DLL and statically compile it into my executable? I don't want to have to redistribute a paticular DLL with my project, but I don't have the source code or a static lib.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Is there a way I can take a DLL and statically compile it into my executable?


None that I am aware of.

Share this post


Link to post
Share on other sites
Under normal circumstances, no. A .dll has more in common with .exe files than it has with .libs, since a .lib only serves as a container for a set of .obj files produced by the compiler.

I know of a single tool which is able to convert .dlls into Visual C++ compatible .lib files, DLL to Lib. Took me quite some tries until the produced .lib files were working properly, thought.

-Markus-

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!