Archived

This topic is now archived and is closed to further replies.

Void

Question about static libraries

Recommended Posts

Hi, When I create a static library, I have to link in one of the Debug/Release and Single/MultiThread libraries in VC++ to build the library.. but when another project that uses the library links in a different version of default libraries (ie Debug/Release, Single/Multi), the linker will generate a warning about incompatible library versions. Do I have to create 4 versions of the static library linking the different combinations of default libraries?? Cause I notice the libraries in directx don''t have a debug/release, single/multithreaded versions, only 1 lib file. How is that done??? thanks..

Share this post


Link to post
Share on other sites
from what I understand yes... In DX the libs just help with interfacing the DLLs... a DLL is multithread only...

Great Milenko

Words Of Wisdom:
"Never Stick A Pretzel In Your Butt It Might Break Off In There."


http://www.crosswinds.net/~milenko
http://www.crosswinds.net/~pirotech

Share this post


Link to post
Share on other sites