我编译Direct3D例子的时候报错

geniusdhc 2004-05-11 08:24:40
信息如下: 'DialogBoxParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,long)'
None of the functions with this name in scope match the target type

是怎么回事
...全文
66 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
bluetooth_2001 2004-05-12
  • 打赏
  • 举报
回复
参数不正确
KingofMagic 2004-05-12
  • 打赏
  • 举报
回复
不是参数不对,在vc的环境里把directx的include、lib等路径调在最前面就可以了
geniusdhc 2004-05-12
  • 打赏
  • 举报
回复
该怎么改正?

8,303

社区成员

发帖
与我相关
我的任务
社区描述
游戏开发相关内容讨论专区
社区管理员
  • 游戏开发
  • 呆呆敲代码的小Y
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧