nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *,int,char const *,int)" (??3@YAXPAXHPBDH@Z) already
defined in KomodiaInfraLib.lib(OSManager.obj)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete[](void *,int,char const *,int)" (??_V@YAXPAXHPBDH@Z) already
defined in KomodiaInfraLib.lib(SocketThreadManager.obj)
I have 3 different projects in my solution (VS.Net 2003). Two are static libraries, the third is an MFC dialog app. The
KomodiaInfraLib above is one of the two static libraries, both part of a socket library I am using. The errors occur when linking
them into my main .exe. All projects have their code generation set to "Multithreaded Debug". The error does NOT occur when in
release mode ("Multithreaded").
Any ideas?
--
Adam Clauss
ca*****@tamu.edu