Jump to content
  • Advertisement
Sign in to follow this  
miket

Using DX8 calles with Managed DX9 SDK

This topic is 4841 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 have what may be a dum question. If you have the Managed Directx 9 SDK installed can use used that in your code with directx8 calls? For example I know if you have DX 8 SDK you can write code and get a pointer to DirectDraw version 7 and used version 7 calls. In DX9 can you get a pointer to version 8? Thanks

Share this post


Link to post
Share on other sites
Advertisement
I'm just guessing that the answer is no, with the exception of DirectDraw (which is really just DirectDraw7). As far as I know there is no managed support for previous versions of DirectX. A possible alternative though is to use the Visual Basic DirectX dll from previous version, which are named dx7vb.dll, dx8vb.dll, etc. But using Managed DirectX 9 would be highly preferred to this, since it was written with .Net in mind.

Share this post


Link to post
Share on other sites
Thats what I thought,

My little brother wants to learn to program and I gave him a copy of Tricks of Windows game programming gurus but that covers DX7 and we have DX9 SDK installed. AS you already know once you install a newer one any older versions will not install. I guess I will have to get him a more up to date book.

Thanks

Nick

Share this post


Link to post
Share on other sites
Quote:
Original post by miket
Thats what I thought,

My little brother wants to learn to program and I gave him a copy of Tricks of Windows game programming gurus but that covers DX7 and we have DX9 SDK installed. AS you already know once you install a newer one any older versions will not install. I guess I will have to get him a more up to date book.

Thanks

Nick

The SDK itself supports all versions of DirectX, only Managed DirectX supports (mostly) only DirectX 9. The book was not written for DirectX 9, so it was not written for Managed DirectX. If you want to use whatever language the book is written for, it will still work with your newer SDK.

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!