Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Asking the question here simply because my PC is down for the count for a while and wasn't able to stave a curiosity before that happened.

I picked up a few books about programming Games in DirectX, specifically 9.0c.

I have a Windows 8 machine, and have Visual Studio 2012, and remember a massive headache about following some of the more simple DirectX tutorials on the web as everything I could find was prior to Windows 8 when all headers and such we're available, and DirectX wasn't merged into the WindowsSDK. (I think specifically it was the absence of a commonly used DX UTILITY that was causing issues).

Before my PC went down, I wasn't able to try simply installing previous SDK's.

.. Does this work? Can one, under a Windows 8 environment with Visual 2012, install the previous DX9 SDK's and it'd work out alright? Are there going to be conflicts? How can I set this up correctly? I'm just interested in getting going with the basics of what can be followed by the majority of the resources available today, and not so much "bleeding edge" at the moment...

Thank you in advance!

share|improve this question
Besides trying to force DX9 to work, I would say just start with DX11. –  bobobobo Apr 1 '13 at 15:21
add comment

2 Answers

Yes. You may have to change some include path orders in your V++S directories properties tab to get the right headers. I don't use DX9 for new projects in VS2012 (and our DX9 projects at work are all developed in VS2008 on Win7), so I'm unsure of any details. For DX11 that was all that was necessary to use the June 2010 SDK specific interfaces (most of the important APIs are the same).

Most of the DX9 headers should just work, though. The libraries will link and run just fine.

Be sure you're using a more fully-featured of VS2012. If you're using Express, be sure you're using the Desktop edition. If you're using 2012 Express for Windows 8 you will have problems; it only produces newer Windows 8 style apps, which DX9 games most certainly aren't.

Visual Studio 2012 for Desktop

share|improve this answer
If you're having trouble with VS 2012, you can install 2008 or 2010 on Windows 8 just fine & use that instead. Express editions should be OK for learning with. –  Jimmy Shelter Mar 14 '13 at 1:13
If you don't mind the reduced C++ feature set, yes, that works. The Win8 SDK is part of VS2012, so there shouldn't be conflicts if using an older version. –  Sean Middleditch Mar 14 '13 at 1:27
add comment

I have had some major headaches trying to get DX9 to work with VS2012. Most of our dev code is in DX9. I'd recommend against touching DX9 at all these days, unless you are working with an existing project that uses DX9. DX10 and up bring some new nice features, and a couple of critical ones (depending on your project needs). DX9 has pre-compiled libs that use an older runtime than VS2012 - you will get linker errors, and a couple of header compiler mismatches.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.