游戏开发论坛

 找回密码
 立即注册
搜索
查看: 2350|回复: 2

大家来看看

[复制链接]

21

主题

136

帖子

165

积分

注册会员

Rank: 2

积分
165
发表于 2007-6-17 21:45:00 | 显示全部楼层 |阅读模式
今天抵制不住诱惑,装了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的应用程序呀?

21

主题

136

帖子

165

积分

注册会员

Rank: 2

积分
165
 楼主| 发表于 2007-6-17 21:50:00 | 显示全部楼层

Re:大家来看看

我已经安装过了 plat sdk sp1了
但是还是不行,怎么解决?

21

主题

136

帖子

165

积分

注册会员

Rank: 2

积分
165
 楼主| 发表于 2007-6-17 22:18:00 | 显示全部楼层

Re:大家来看看

不用了
自己搞定了,环境没有配置好....
呵呵
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-26 03:08

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表