游戏开发论坛

 找回密码
 立即注册
搜索
查看: 2326|回复: 3

DirectX 9.0b SDK Samples编译问题-help

[复制链接]

1

主题

1

帖子

9

积分

新手上路

Rank: 1

积分
9
发表于 2004-3-25 17:47:00 | 显示全部楼层 |阅读模式
我编译samples里面的任何一个,都出现下面问题(VC6+SP5 W2K+SP4)
请各位高手解答,为什么刚刚装好的就这样????
Compiling resources...
Compiling...
d3dapp.cpp
C:\DXSDK\Samples\C++\common\src\d3dapp.cpp(835) : error C2065: 'ULongToHandle' : undeclared identifier
d3denumeration.cpp
d3dfile.cpp
d3dfont.cpp
d3dsettings.cpp
C:\DXSDK\Samples\C++\Common\src\d3dsettings.cpp(276) : error C2664: '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
C:\DXSDK\Samples\C++\Common\src\d3dsettings.cpp(498) : error C2065: 'ULongToPtr' : undeclared identifier
C:\DXSDK\Samples\C++\Common\src\d3dsettings.cpp(671) : error C2065: 'UlongToPtr' : undeclared identifier

46

主题

238

帖子

238

积分

中级会员

Rank: 3Rank: 3

积分
238
发表于 2004-3-25 21:41:00 | 显示全部楼层

Re:DirectX 9.0b SDK Samples编译问题-help

是不是没有在工程- >settings 里连接库

5

主题

255

帖子

255

积分

中级会员

Rank: 3Rank: 3

积分
255
发表于 2004-3-26 15:23:00 | 显示全部楼层

Re:DirectX 9.0b SDK Samples编译问题-help

应该是库文件的问题

37

主题

378

帖子

388

积分

中级会员

Rank: 3Rank: 3

积分
388
QQ
发表于 2004-3-28 11:34:00 | 显示全部楼层

Re:DirectX 9.0b SDK Samples编译问题-help

这个好像是你装了SP5之后把默认的include目录改变的结果吧……
你好好看看,是否有变动?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-5-16 09:30

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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