libcpmtd.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
實(shí)際異常四: 中文亂碼,單字節(jié)字符(vc6)、Unicode(vc8 vc9 vc10) 處理方法: property pages->Configuration Propertyies->General->Character Set->Use Multi-Byte Character Set 實(shí)際異常五: VC++ 2008編譯錯(cuò)誤fatal error C1902問題的解決 處理方法: 將C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\mspdbsrv.exe復(fù)制到C:\Program Files\Microsoft Visual Studio 9.0\VC\bin下即可,。 實(shí)際異常六 : error LNK2019: unresolved external symbol wWinMain referenced in function wWinMainCRTStartup 處理方法: 1.Linker->Advanced頁,將Entry Point由wWinMainCRTStartup改成WinMainCRTStartup 2.Configuration Properties->C/C++->Preprocessor,然后在右邊欄的Preprocessor Definitions對應(yīng)的項(xiàng)中刪除_CONSOLE, 添加_WINDOWS.
實(shí)際異常七: 處理方法: 在stdafx.h文件最上面加入#define _USE_32BIT_TIME_T 實(shí)際異常八: Run-Time Check Failure #2 - Stack around the variable 'dect' was corrupted. 處理方法: C/C++->Code Generation->Basic Runtime Checks=Default 實(shí)際異常九: vc2005及以上和6.0的DLL導(dǎo)出函數(shù)中有wchar_t, 都無法被對方使用, 必須在vc2005及以上版本中做如下設(shè)置 處理方法: C/C++-->Language->Treat wchar_t as Built-in Type --> No (/Zc:wchar_t-) 實(shí)際異常十: Error 2 error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0500. Value 0x0501 or higher is recommended. c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h 23 1 XPFace #ifndef WINVER 0x0500 實(shí)際異常十一: afximpl.h中MENUGETOBJECTINFO、HRAWINPUT找不到而出錯(cuò),。 處理方法: typedef struct tagMENUGETOBJECTINFO { typedef struct HRAWINPUT__ * HRAWINPUT; 實(shí)際異常十二: Error 125 error LNK1104: cannot open file 'LIBC.lib' C:\test\LINK test 處理方法: Configuration Properties->Linker->Input->Ignore Specific Default Libraries=libc.lib |
|