Jump to content
  • Advertisement
Sign in to follow this  
chenchen

compile error: can not convert parameter from LPDIRECTXFILEDATA to LPD3DXFILEDATA

This topic is 4843 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

it also has syntax error: identifier 'LPDIRECTXFILEDATA', after I include header file <dxfile.h>, this syntax error disappeared, but there are still: error C2664: 'D3DXLoadMeshFromXof' : cannot convert parameter 1 from 'LPDIRECTXFILEDATA' to 'LPD3DXFILEDATA' Can anyone help me? Thanks very much!

Share this post


Link to post
Share on other sites
Advertisement
thanks, but LPD3DFILEDATA seems to be the updated version of old LPDIRECTFILEDATA.

so I saw from MSDN Library, the LPDIRECTXFILEDATA interface is "deprecated", does it mean we should not use it any more?

Share this post


Link to post
Share on other sites
Yeah, starting from dx9, the xfile interface has been moved to the d3dx library and is now called ID3DXFileData. So IDirectXFileData doesnt exist as of dx9.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!