Jump to content
  • Advertisement


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


Dx9 Bug with MFC

This topic is 5582 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!