This topic is now archived and is closed to further replies.


Dx9 Bug with MFC

Recommended Posts

I''m compiling a MFC program with DX 9 and this error occur.. d:\DXSDK\Include\d3dx9math.h(390) : error C2061: syntax error : identifier ''THIS_FILE'' d:\DXSDK\Include\d3dx9math.h(390) : error C2091: function returns function d:\DXSDK\Include\d3dx9math.h(390) : error C2802: static member ''operator new'' has no formal parameters d:\DXSDK\Include\d3dx9math.h(391) : error C2061: syntax error : identifier ''THIS_FILE'' d:\DXSDK\Include\d3dx9math.h(391) : error C2090: function returns array d:\DXSDK\Include\d3dx9math.inl(966) : error C2761: ''void *(__cdecl *_D3DXMATRIXA16::operator new(void))(size_t)'' : member function redeclaration not allowed d:\DXSDK\Include\d3dx9math.inl(966) : fatal error C1903: unable to recover from previous error(s); stopping compilation I know that my DX code is OK because works with normal WIN32.. but with MFC this thing is happenning... Anyone know about this error? i used both the msvc++ 6 e o msvc 2003....

Share this post

Link to post
Share on other sites