錯誤1: unexpected end of file while looking for precompiled header directive
改正方法:工程->設置->C/C++,在分類中選中“預編譯的頭文件”,然後選中“自動使用預補償頁眉”或“不使用預補償頁眉”
錯誤2:unresolved external symbol __mbctype或unresolved external symbol ___argc
改正方法:工程->設置->C/C++,在分類中選中“常規”,然後在預處理程序定義下添加“_AFXDLL”
錯誤3:Please use the /MD switch for _AFXDLL builds
改正方法:工程->設置->C/C++,在分類中選中“Code Generation”,然後在Use run-time library下選中Multithreaded DLL或Debug Multithreaded DLL