本文介绍了VC6.0包含DSound错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,我有一个来自VS2010的项目,我想在VC6中编译它以支持winXP,我在项目中使用了DSound,当我包含dsound.h时,出现了错误,错误是:
hello , i had a project from VS2010 and i want to compile it in VC6 for supporting winXP, i had used DSound in my project , when i include dsound.h it was something wrong , the error is :
d:\program files\microsoft visual studio 10.0\vc\include\vadefs.h(48) : error C2144: syntax error : missing ';' before type 'unsigned int'
文件"vadefs.h"由vs2010提供,错误行为5th
file "vadefs.h" is provide by vs2010 , the error line is 5th
1 #ifndef _UINTPTR_T_DEFINED
2 #ifdef _WIN64
3 typedef unsigned __int64 uintptr_t;
4 #else
5 typedef _W64 unsigned int uintptr_t;
6 #endif
7 #define _UINTPTR_T_DEFINED
8 #endif
但是我可以在此文件的开头找到_W64的定义,我很困惑,是VC6不支持DirectX9吗?
如何解决?
感谢您的时间:)
but i can find defination of _W64 in the head of this file , im confused , is that VC6 not support DirectX9 ?
How to fix this?
thanks for your time : )
推荐答案
这篇关于VC6.0包含DSound错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!