编译时的错误,搞不明白~?(用了DirectX9 SDK)
错误如下:
c:\dx9sdk\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
c:\dx9sdk\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
c:\dx9sdk\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
c:\dx9sdk\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
c:\dx9sdk\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
c:\dx9sdk\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
Error executing cl.exe.
不明白哪里出错了~~不可能是我包含的dsound.h有错误
(其他相关头文件我都包含了,库文件也链接了)~~?
它怎么不在我程序出错的地方报错??
只好上来请教大家了:(
问题点数:20、回复次数:3Top
1 楼fiftymetre(50米深蓝)回复于 2005-12-21 19:32:37 得分 0
错误肯定在你自己的程序里Top
2 楼snailbreak(悄悄的来,正如我悄悄的走)回复于 2005-12-21 20:49:35 得分 20
可能包含头文件时造成了递归Top
3 楼Good_Study(day_day_up)回复于 2005-12-22 19:11:18 得分 0
楼上真是高手~自己真是粗心~递归调用头文件~~
谢谢了~
Top




