Réduire
Brouillon
0
03/03/2013
0
I tried including <afx.h> in console application. It gives linking error like:
   Linking...
   nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in libcpd.lib(delop.obj)
   nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
   nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
   Debug/kkSTL.exe : fatal error LNK1120: 2 unresolved externals
   Error executing link.exe.
Mots-clés:
Microsoft Visual C++
You need to modify your project settings under C++ TAB and [Code Generation], and change run-time library to Multithread.