Re: nafxcw.lib - linker error
-
Hello, I'm receiving some linking errors while attempting to build my Visual C++ program. Here is an example of one such error: "nafxcw.lib(apphelp.obj) : error LNK2001: unresolved external symbol __mbctype". Any help is appreciated. Mike
See Q166504 maybe its some helpful for you
WhiteSky
-
See Q166504 maybe its some helpful for you
WhiteSky
After viewing http://support.microsoft.com/default.aspx?scid=kb;en-us;166504, I checked my project settings. In Project, Settings, General, Microsoft Foundation Classes: "Use MFC in a Static Library" Project, Settings, C/C++, Category, Code Generation, Use run-time library: "Multithreaded" Project, Settings, Link, Input, Ignore Libraries: "libcmt" Perhaps I'm missing something. Mike
-
After viewing http://support.microsoft.com/default.aspx?scid=kb;en-us;166504, I checked my project settings. In Project, Settings, General, Microsoft Foundation Classes: "Use MFC in a Static Library" Project, Settings, C/C++, Category, Code Generation, Use run-time library: "Multithreaded" Project, Settings, Link, Input, Ignore Libraries: "libcmt" Perhaps I'm missing something. Mike
-
After viewing http://support.microsoft.com/default.aspx?scid=kb;en-us;166504, I checked my project settings. In Project, Settings, General, Microsoft Foundation Classes: "Use MFC in a Static Library" Project, Settings, C/C++, Category, Code Generation, Use run-time library: "Multithreaded" Project, Settings, Link, Input, Ignore Libraries: "libcmt" Perhaps I'm missing something. Mike
-
mla154 wrote:
Use run-time library: "Multithreaded"
Try Multithreaded DLL, see if that solves the problem.
Multithreaded DLL gives me a different set of linker errors: --------------------Configuration: Icdm - Win32 Release Windows 95-------------------- Linking... nafxcw.lib(apphelp.obj) : error LNK2001: unresolved external symbol __mbctype nafxcw.lib(timecore.obj) : error LNK2001: unresolved external symbol __mbctype nafxcw.lib(dcprev.obj) : error LNK2001: unresolved external symbol __mbctype nafxcw.lib(filelist.obj) : error LNK2001: unresolved external symbol __mbctype nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argv nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argc D:\code\Visual C++ Projects\!Work\ICDM - Mike L\HC-Release\Icdm.exe : fatal error LNK1120: 3 unresolved externals Error executing link.exe. Icdm.exe - 7 error(s), 0 warning(s)