VS2012, Windows 8, DirectX and their SDKs

I recently installed Visual Studio 2012 Express for Windows Desktop. Along with this, part of the Windows 8 SDK was also installed.

Currently, I want to develop programs only for the Windows Vista / 7 platform with DirectX 11. So far, I just installed the Windows 7.1 SDK along with the DirectX SDK from June 2010, and everything worked fine. Currently, however, I'm a bit confused because the DirectX SDK was included in the Windows 8 SDK. In addition, VS2012 uses the Windows 8 SDK by default.

What should I do? Install the Windows 8 SDK and use it to write programs for Windows 7 with DirectX? Or perhaps continue to use the SDK for Windows 7.1 and the DirectX / june 2010 SDK? I want to make sure that my programs (which do not use any 7-specific functions) will still work under Vista and 7.

+4
source share
1 answer

I think you have two options

  • install the Win8 SDK and use functions compatible with Win7, since the Win8 SDK includes the DirectX SDK, and some functions work only under win8, your program will work on win7 if you did not use such functions.
  • install the Win7 SDK, this ensures that the program can run on Win7

just one thing, make sure that the function you use is available on your platform, and that’s it. Here is the DirectX SDK page, for reference only

Where is the DirectX SDK located?

+2
source

Source: https://habr.com/ru/post/1439412/


All Articles