Jump to content
  • Advertisement
Sign in to follow this  
etftw

DirectX SDK Compiler Compatability

This topic is 3722 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 am new around here and very eager to get into game development using the DirectX SDK and a book was suggested to me which seems as if it could be a great starting point (Beginning Game Programming by Jonathan S. Harbour), however I noticed the code compiled in his book is done so in Visual C++ 6. What I want to know is: would the calls to the DirectX API need to be changed at all for the different compilers or would that portion of things remain the same?

Share this post


Link to post
Share on other sites
Advertisement
A fellow Manc, woo! :D

To answer your question though, the API calls remain the same across different compilers. The only way the API calls would change is if the API changes.

Share this post


Link to post
Share on other sites
I don't think VC6 works with the latest SDKs at all (I could be wrong though). I was under the impression that the libraries weren't compatible.

In any case, don't use VC6. It's over 10 years old, incredibly non-complient, buggy, produces very poor code, and is just overall horrible. VC2008 is free to download and use, and performs much better than VC6 in every single way. The code should compile almost exactly on VC2008, there'll only be problems if the author of the book isn't writing valid C++ in the first place.

Share this post


Link to post
Share on other sites
I heard VC6 isnt compatible with the new releases of the SDK which is why I don't really want to produce code in it, VC08 is the compiler I would preferbly like to use.

Share this post


Link to post
Share on other sites
Been trying out Visual Studio 2003, gotta admit I am quite fond of it, it offers a clean interface and as far as I know is fully compatible with the newer releases of the DirectX SDK AND works with existing code from a few books I own on the subject of DirectX.

So it looks like I have finally found my perfect compiler :-)

I compiled the source code on one of the CDs that came with one of my books and it worked fine so atleast now I can read through the book knowing what I am reading can be used.

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!