描述:
此文件在 vc6.0和。net下均不能通过,是为什么呢?我已经装了DIRECTX 9.0啊,
6.0下出现问题:e:\directx9sdk\include\strmif.h(1024) : error C2146: syntax error : missing ';' before identifier 'HSEMAPHORE'
e:\directx9sdk\include\strmif.h(1024) : fatal error C1004: unexpected end of file found
我用的版本是dxsdk_feb2005+extras
参考:http://blog.csdn.net/zfxu/archive/2005/06/23/401410.aspx
我在。net下链接不成功
“正在链接...
MainFrm.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static struct CRuntimeClass * __stdcall CGfxOutBarCtrl::GetThisClass(void)" (__imp_?GetThisClass@CGfxOutBarCtrl@@SGPAUCRuntimeClass@@XZ),该符号在函数 "protected: static struct CRuntimeClass * __stdcall COutlookBar::_GetBaseClass(void)" (?_GetBaseClass@COutlookBar@@KGPAUCRuntimeClass@@XZ) 中被引用
MainFrm.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) protected: static struct AFX_MSGMAP const * __stdcall CGfxOutBarCtrl::GetThisMessageMap(void)" (__imp_?GetThisMessageMap@CGfxOutBarCtrl@@KGPBUAFX_MSGMAP@@XZ),该符号在函数 "protected: static struct AFX_MSGMAP const * __stdcall COutlookBar::GetThisMessageMap(void)" (?GetThisMessageMap@COutlookBar@@KGPBUAFX_MSGMAP@@XZ) 中被引用
playView.obj : error LNK2019: 无法解析的外部符号 __imp__mmioWrite@12,该符号在函数 "unsigned int __cdecl RealSendThread(void *)" (?RealSendThread@@YAIPAX@Z) 中被引用
playView.obj : error LNK2019: 无法解析的外部符号 __imp__mmioClose@8,该符号在函数 "public: long __thiscall CPlayView::OnPrepareClose(unsigned int,long)" (?OnPrepareClose@CPlayView@@QAEJIJ@Z) 中被引用
”
是什么原因啊?qq 378784165