Static from DLL
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.
Quote:Is there a way I can take a DLL and statically compile it into my executable?
None that I am aware of.
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-
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-
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement