Hi,

i have this link error only when i compile my project in release mode. The debug mode is ok.
My project (.exe) must link many lib together, all lib compile correctly in release mode.

The code generation is the same for all, MultiThreadDll.

The error :
nafxcw.lib(strcore.obj) : error LNK2005: "public: __thiscall CString::CString(class CString const &)" (??0CString@@QAE@ABV0@@Z) already defined in mfc42.lib(MFC42.DLL)

great thanks in advance

Carl