Jump to content
  • Advertisement

Archived

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

superdood13

DX 7 or 8?

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

Hello, I have heard several mixed reviews on the new version of DX. I am going through Andre''s book, Windows Game Programming Gurus but have heard that many of the examples don''t compile with DX 8. I have the DX 8.0 SDK on my computer, should I reload 7 and not even worry about 8 yet or should I get a book that teaches DX 8?

Share this post


Link to post
Share on other sites
Advertisement
They should compile with the version 8 SDK if you know how to do it Look here for an answer.

Summarised: "For example, to use the latest headers to compile against the DirectX 7.0 version of D3D, define DIRECT3D_VERSION to be 0x0700."

ie.
#define DIRECT3D_VERSION 0x0700.

There will be similar methods for directdraw and whatever, I'm guessing.


[ MSVC Fixes | STL | SDL | Game AI | Sockets | C++ Faq Lite | Boost ]

Edited by - Kylotan on January 14, 2002 6:38:50 PM

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!