Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#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