由买买提看人间百态

topics

全部话题 - 话题: lnk2005
(共0页)
r*********e
发帖数: 29495
1
Is there a way to tell compiler (VC6) not to use MFC during debugging? I am
tring to build an win32 app without using MFC. However, I keep getting foll
owing errors:
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsign
ed int)" (??2@YAPAXI@Z) already defined in msvcrtd.lib(MSVCRTD.dll)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void
*)" (??3@YAXPAX@Z) already defined in msvcrtd.lib(MSVCRTD.dll)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void *
(共0页)