游戏开发论坛

 找回密码
 立即注册
搜索
查看: 957|回复: 0

为什么dsound老是出错?

[复制链接]

40

主题

48

帖子

48

积分

注册会员

Rank: 2

积分
48
发表于 2008-7-30 23:08:00 | 显示全部楼层 |阅读模式
我在用dsound头文件时。出现编译错误:
:\program files\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
c:\program files\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
c:\program files\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
c:\program files\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
c:\program files\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
c:\program files\microsoft directx 9.0 sdk (april 2005)\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
执行 cl.exe 时出错.
Creating browse info file...
好像是  DWORD_PTR  有问题,想必大家都经历过这个吧,请大家指教指教。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2026-1-21 20:50

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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