Using Windows SDK 8.1 for development on Windows 7

pseudomarvin

Can I install Windows SDK for Windows 8.1 on my computer with Windows 7 and use its libraries for development? Specifically I'd like to use the Direct3D libraries/headers.

Chuck Walbourn

The Windows SDK for Windows 8.1 supports building Windows desktop applications for Windows Vista, Windows 7, Windows 8, Windows 8.1, and the Windows Server equivalents of each. All that matters is that you correctly set _WIN32_WINNT to the proper value for your target application:

  • For Windows 8.1 support, _WIN32_WINNT is 0x0603 which is the default with the Windows 8.1 SDK / VS 2013 and is the value you expect to use for Windows Store apps for Windows 8.1 and Windows phone 8.1.

  • For Windows 8.x support, _WIN32_WINNT is 0x0602 which is the default with the Windows 8.0 SDK / VS 2012 and is the value you expect to use for Windows Store apps for Windows 8.0, Windows phone 8.0, and Xbox One.

  • For Windows 7 and Windows 8.x Win32 desktop support, _WIN32_WINNT should be 0x0601.

  • For Windows Vista, Windows 7, and Windows 8.x Win32 desktop support, _WIN32_WINNT should be 0x0600.

See Using Windows Headers

The Windows SDK for Windows 8.1 comes with VS 2013, the Windows SDK for Windows 8.0 comes with VS 2012. To use the Windows SDK for Windows 8.1 with VS 2012 or VS 2010, you need to make use of a Properties Pages solution because there's no automatic integration otherwise. See the Visual C++ Team Blog and this blog post which has the required .props files attached.

The Windows SDK for Windows 8.x contain the DirectX headers for Direct3D 9, Direct3D 10.x, Direct3D 11.x, DirectSound, DirectInput, DirectDraw, core DirectMusic, DirectShow, XInput 1.4 or 9.1.0, and XAudio 2.8. For a complete catalog, see DirectX SDKs of a certain age.

Legacy DirectX SDK: As per MSDN, a number of components from the legacy DirectX SDK are deprecated and are not part of the Windows 8.x SDK. In fact, the DirectX SDK itself is deprecated. Notably D3DX9, D3DX10, D3DX11, and XACT. For modern alternatives that do not require the legacy DirectX SDK, see Living Without D3DX.

If you need to use D3DX, XACT, XInput 1.3, or XAudio 2.7, then you can use the legacy DirectX SDK in combination with the Windows 8.x SDK, but you need to switch the order of the include/lib paths around from VS 2010. See the MSDN page for details. See also XInput and XAudio2 for additional recommendations here.

Windows XP: If you have to target Windows XP, you have to use the Windows 7.1A SDK and the special Platform Toolset for it. You will also need the legacy DirectX SDK particularly for HLSL compiler D3DCompile #43. See this post for important notes particularly for DirectX development.

Deployment: If you use the Windows SDK for Windows 8.1 and use the HLSL complier or other D3DCompile APIs at runtime, you need to deploy the required DLL. See HLSL, FXC, and D3DCompile. Everything else is included in the operating system itself. If you make use of any of the deprecated legacy DirectX SDK components such as D3DX9, D3DX10, D3DX11, XInput 1.3, or XAudio 2.7, then you still need the legacy DirectSetup package. Be sure to read Not So Direct Setup.

Related: DirectX SDK Tools Catalog, DirectX SDK Samples Catalog, The Zombie DirectX SDK

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Windows 7 SDK for .NET 4.5?

分類Dev

Problems with RXTX in Windows 7, but not in Windows 8

分類Dev

how can install eclipse sdk on windows 7

分類Dev

Windows 7/8 Screen overlay VC++

分類Dev

Synergy 1.5.0 Windows 8&7

分類Dev

Command prompt takes 7-8 seconds to load in Windows 7

分類Dev

Slipstream Windows 7 + Service Pack 1

分類Dev

Android Studio 0.8.14 windows 7 does not seem to include SDK

分類Dev

Connection of Android to Windows 7 using Hosted Network

分類Dev

Using two network connection types on Windows 7

分類Dev

Clean Install Using Windows 7 RTM Upgrade

分類Dev

How to unlock Windows 7 screen using script

分類Dev

複数の環境向けのアプリケーション(Windows Phone 8、Windows Phone 8.1、Windows 8、Windows 7、Windows XP)

分類Dev

Windows8のGoogleChrome上のJava7

分類Dev

Mobilefirst 7 -> windows 8 URL activation scheme parameters

分類Dev

Windows8をWindows7に置き換えます

分類Dev

Windows8をWindows7に置き換えます

分類Dev

Windows7のWindows8タスクマネージャー

分類Dev

Windows7およびWindows8を搭載したDirectX

分類Dev

Windows7および現在のWindows8 BSOD Internal_power_error

分類Dev

Why am I unable to use my Windows 8 after installing Windows 7 in a separate partition?

分類Dev

Windows 7 + UbuntuからCrunchbang(最初)+ Windows 8(2番目?)

分類Dev

Windows 7 compatibility mode in Windows 7

分類Dev

Problems Linking boost log 1_60 with MinGw on Windows 7

分類Dev

Windows 7-BSOD PROCESS1_INITIALIZATION_FAILED

分類Dev

Why remmina on Ubuntu refused to connect to Windows 7 (Service Pack 1)?

分類Dev

Connecting to github using PuTTY generated SSH key in Windows 7

分類Dev

How can I install Windows 7 using WinPE?

分類Dev

Can I install a Windows 7 Virtual Machine using the Disc?

Related 関連記事

  1. 1

    Windows 7 SDK for .NET 4.5?

  2. 2

    Problems with RXTX in Windows 7, but not in Windows 8

  3. 3

    how can install eclipse sdk on windows 7

  4. 4

    Windows 7/8 Screen overlay VC++

  5. 5

    Synergy 1.5.0 Windows 8&7

  6. 6

    Command prompt takes 7-8 seconds to load in Windows 7

  7. 7

    Slipstream Windows 7 + Service Pack 1

  8. 8

    Android Studio 0.8.14 windows 7 does not seem to include SDK

  9. 9

    Connection of Android to Windows 7 using Hosted Network

  10. 10

    Using two network connection types on Windows 7

  11. 11

    Clean Install Using Windows 7 RTM Upgrade

  12. 12

    How to unlock Windows 7 screen using script

  13. 13

    複数の環境向けのアプリケーション(Windows Phone 8、Windows Phone 8.1、Windows 8、Windows 7、Windows XP)

  14. 14

    Windows8のGoogleChrome上のJava7

  15. 15

    Mobilefirst 7 -> windows 8 URL activation scheme parameters

  16. 16

    Windows8をWindows7に置き換えます

  17. 17

    Windows8をWindows7に置き換えます

  18. 18

    Windows7のWindows8タスクマネージャー

  19. 19

    Windows7およびWindows8を搭載したDirectX

  20. 20

    Windows7および現在のWindows8 BSOD Internal_power_error

  21. 21

    Why am I unable to use my Windows 8 after installing Windows 7 in a separate partition?

  22. 22

    Windows 7 + UbuntuからCrunchbang(最初)+ Windows 8(2番目?)

  23. 23

    Windows 7 compatibility mode in Windows 7

  24. 24

    Problems Linking boost log 1_60 with MinGw on Windows 7

  25. 25

    Windows 7-BSOD PROCESS1_INITIALIZATION_FAILED

  26. 26

    Why remmina on Ubuntu refused to connect to Windows 7 (Service Pack 1)?

  27. 27

    Connecting to github using PuTTY generated SSH key in Windows 7

  28. 28

    How can I install Windows 7 using WinPE?

  29. 29

    Can I install a Windows 7 Virtual Machine using the Disc?

ホットタグ

アーカイブ