G
Guest
Dear All,
I am trying to use CDatabase class and include the class <afxdb.h>, but the
following error occurs,
Linking...
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator
new(unsigned int)" (??2@YAPAXI@Z) already defined in libcpd.lib(newop.obj)
nafxcwd.lib(thrdcore.obj) : error LNK2019: unresolved external symbol
__endthreadex referenced in function "void __stdcall AfxEndThread(unsigned
int,int)" (?AfxEndThread@@YGXIH@Z)
nafxcwd.lib(thrdcore.obj) : error LNK2019: unresolved external symbol
__beginthreadex referenced in function "public: int __thiscall
CWinThread::CreateThread(unsigned long,unsigned int,struct
_SECURITY_ATTRIBUTES *)"
(?CreateThread@CWinThread@@QAEHKIPAU_SECURITY_ATTRIBUTES@@@Z)
Debug/20050722.SecondTrial.exe : fatal error LNK1120: 2 unresolved externals
I dunno what is going on, is there anyone can help me a hand?
Thanks,
I am trying to use CDatabase class and include the class <afxdb.h>, but the
following error occurs,
Linking...
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator
new(unsigned int)" (??2@YAPAXI@Z) already defined in libcpd.lib(newop.obj)
nafxcwd.lib(thrdcore.obj) : error LNK2019: unresolved external symbol
__endthreadex referenced in function "void __stdcall AfxEndThread(unsigned
int,int)" (?AfxEndThread@@YGXIH@Z)
nafxcwd.lib(thrdcore.obj) : error LNK2019: unresolved external symbol
__beginthreadex referenced in function "public: int __thiscall
CWinThread::CreateThread(unsigned long,unsigned int,struct
_SECURITY_ATTRIBUTES *)"
(?CreateThread@CWinThread@@QAEHKIPAU_SECURITY_ATTRIBUTES@@@Z)
Debug/20050722.SecondTrial.exe : fatal error LNK1120: 2 unresolved externals
I dunno what is going on, is there anyone can help me a hand?
Thanks,