Original Post
Hi I've made a solution (mvs7.1) with four projects. Three of the projects create static libraries that the last project uses. ( one of them is Misc.lib ) For some reason I get this link error libcpmtd.lib(xlock.obj) : error LNK2005: "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already defined in Misc.lib(String_Misc.obj) I've done the same in another solution, and it works there. But in this new one I've made, the main project uses MFC. In the lib projects I've set Ignore All Defaul Libraries, but that didn't help.=( And I have set Ignore LIBCD in the main project. ( 'couse I got a warning : LINK : warning LNK4098: defaultlib 'LIBCD' conflicts with use of other libs; use /NODEFAULTLIB:library ) Anyone got a clue?