I have a dll and an exe, both of which I have the sources to.
For the DLL
I have compiled completely statically and therefore, I would assume that the the .lib
is also static. However, when I include that lib
in my C++ VC++ 2008 project under Linker > Input > Additional Dependencies . I set the compile mode to /MT (multi-threaded) for the exe.
Everything compiles, but when I try to run the exe, it asks for the dll! To the best of my (limited) understanding, that shouldn't be happening.
Why should I do?