Visual studio 2013 and DirectX.

Started by
4 comments, last by MJP 9 years, 1 month ago

I just installed Visual Studio 2013 Community. I want all the languages to work with directx. I am using windows 7 sp 1. Do I run an install now of the directx sdk and runtime, and it will set it up automatically? Is directx backward compatible? Which versions of directx will work with my visual studio 2013 and where can I get it?

Thank you,

Josheir

Advertisement

You don't need to do anything for C++, as DirectX is now part of the core Windows SDK (which ships with VS). Just #include <d3d11.h> and go. For .NET based languages you will need a wrapper such as SlimDX or SharpDX.

SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.

Thank you,

Josheir

Some things to be wary of, though:

The Windows SDK version of DirectX is not identical to the old stand-alone version. Some (non-required) utility libraries like D3DX are not part of the Windows SDK, for instance. A few of the DirectX components were updated in non-backwards-compatible ways (e.g. XAudio2 2.8), though the bits you're likely most interested in (D3D) are compatible. Some headers and includes changed mildly; only a problem if you're trying to make code that works with both the stand-alone SDK and the integrated Windows SDK.

Sean Middleditch – Game Systems Engineer – Join my team!

Most of the removed functionality can be found in other open libraries, such as DirectXTK though.

Most of the removed functionality can be found in other open libraries, such as DirectXTK though.

Indeed. To help with that, many of the MSDN pages for deprecated D3DX functionality indicate that they are deprecated, and link to their replacements in DirectXTK/DirectXTex.

TBH I like the DirectTX/DirectXTex replacements better than the old D3DX stuff, since it doesn't use COM interfaces and you can also step through the code.

This topic is closed to new replies.

Advertisement