Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#ActualBuckeye

Posted 03 February 2014 - 05:14 PM

they are not compatible which gave me some runtime errors..

 

 

Not too surprising. You can't cast an apple as an orange and hope the juicer will somehow make orange juice.

 

Take a look at the docs. It appears you need to use (a pointer to ) ID3DXFileData (not IDirectXFileData) as your input object. Unless you have a ten year old SDK installed, the API you're using today isn't the same one that Adam's assumes (assuming you're talking about Adam's 2003 book).


#2Buckeye

Posted 03 February 2014 - 05:12 PM

they are not compatible which gave me some runtime errors..

 

 

Not too surprising. You can't cast an apple as an orange and hope the juicer will somehow make orange juice.

 

Take a look at the docs. As mentioned, you need to use (a pointer to ) ID3DXFileData as your input object. The API you're using today isn't the same one that was used ten years ago (assuming you're talking about Adam's 2003 book).


#1Buckeye

Posted 03 February 2014 - 05:07 PM

they are not compatible which gave me some runtime errors..

 

 

Not too surprising. You can't cast an apple as an orange and hope the juicer will somehow make orange juice.

 

Take a look at the docs. As mentioned, you need to use (a pointer to ) ID3DXFileData as your input object.


PARTNERS