|
|
今天抵制不住诱惑,装了vs2005 express版
拿以前的工程一调试,出现以下错误:
正在链接...
FileMange.obj : error LNK2019: 无法解析的外部符号 __imp__MessageBoxA@16,该符号在函数 "public: int __thiscall FileMange::Inital(void)" (?Inital@FileMange@@QAEHXZ) 中被引用
main.obj : error LNK2001: 无法解析的外部符号 __imp__MessageBoxA@16
main.obj : error LNK2019: 无法解析的外部符号 __imp__GetCursorPos@4,该符号在函数 "void __cdecl getInfor(void)" (?getInfor@@YAXXZ) 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__TextOutA@20,该符号在函数 "void __cdecl showMessage(struct HDC__ *)" (?showMessage@@YAXPAUHDC__@@@Z) 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__SetTextColor@8,该符号在函数 "void __cdecl showMessage(struct HDC__ *)" (?showMessage@@YAXPAUHDC__@@@Z) 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__SetBkMode@8,该符号在函数 "void __cdecl showMessage(struct HDC__ *)" (?showMessage@@YAXPAUHDC__@@@Z) 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__DefWindowProcA@16,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__PostMessageA@16,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__PostQuitMessage@4,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__SetCursor@4,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__DispatchMessageA@4,该符号在函数 _WinMain@16 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__TranslateMessage@4,该符号在函数 _WinMain@16 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__GetMessageA@16,该符号在函数 _WinMain@16 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__PeekMessageA@20,该符号在函数 _WinMain@16 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__SendMessageA@16,该符号在函数 _WinMain@16 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__UpdateWindow@4,该符号在函数 _WinMain@16 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__ShowWindow@8,该符号在函数 _WinMain@16 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__CreateWindowExA@48,该符号在函数 _WinMain@16 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__RegisterClassA@4,该符号在函数 _WinMain@16 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__LoadIconA@8,该符号在函数 _WinMain@16 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__LoadCursorA@8,该符号在函数 _WinMain@16 中被引用
main.obj : error LNK2019: 无法解析的外部符号 __imp__GetStockObject@4,该符号在函数 _WinMain@16 中被引用
//---------
我感觉是乎是unicode的问题,所以我取消了wchar
可是还是有上面的问题,怎么解决呀?,是不是vs 2005 express版本不能做win32的应用程序呀? |
|