用dirextx开发的问题
kane 2004-06-07 07:02:37 dirextx8 sdk里面有个playsound的例子,include了sdk里带的dsutil.h,dsutil.cpp,dxutil.h,dxutil.cpp。编译运行都没有问题。
在我自己新建的工程里,include了那几个文件后,编译出错。
fatal error C1010: unexpected end of file while looking for precompiled header directive
也就是说dsutil.h和dxutil.h文件出了错,可是这里用的都是和playsound一样的。
我用的是vs2003编译的。