DirectX Software Development Kit

Download the complete DirectX SDK, which contains the DirectX Runtime and all DirectX software required to create DirectX compliant applications in C/C++ and C#.
  • Version:


    File Name:


    Date Published:


    File Size:

    509.7 MB

      This DirectX SDK release contains updates to tools, utilities, samples, documentation, and runtime debug files for x64 and x86 platforms. This release also include a public pre-release Direct3D 10.

      For additional information please see Microsoft DirectX Developer Center along with reviewing the Readme for last-minute updates.
  • Supported Operating System

    Windows Server 2003, Windows Server 2003 R2 (32-Bit x86), Windows Server 2003 R2 Datacenter Edition (32-Bit x86), Windows Server 2003 R2 Datacenter x64 Edition, Windows Server 2003 R2 Enterprise Edition (32-Bit x86), Windows Server 2003 R2 Enterprise x64 Edition, Windows Server 2003 R2 Standard Edition (32-bit x86), Windows Server 2003 R2 Standard x64 Edition , Windows Server 2003 R2 x64 editions, Windows Server 2003 Service Pack 1, Windows Server 2003 x64 editions, Windows Server 2003, Datacenter Edition (32-bit x86), Windows Server 2003, Datacenter x64 Edition, Windows Server 2003, Enterprise Edition (32-bit x86), Windows Server 2003, Enterprise x64 Edition, Windows Server 2003, Standard Edition (32-bit x86), Windows Server 2003, Standard x64 Edition, Windows Server 2003, Web Edition, Windows Small Business Server 2003 , Windows Vista, Windows Vista Business, Windows Vista Business 64-bit edition, Windows Vista Business N, Windows Vista Enterprise, Windows Vista Enterprise 64-bit edition, Windows Vista Home Basic, Windows Vista Home Basic 64-bit edition, Windows Vista Home Basic N, Windows Vista Home Premium, Windows Vista Home Premium 64-bit edition, Windows Vista Starter, Windows Vista Starter N, Windows Vista Ultimate, Windows Vista Ultimate 64-bit edition, Windows XP, Windows XP 64-bit, Windows XP Home Edition , Windows XP Home Edition N, Windows XP Media Center Edition, Windows XP Professional Edition, Windows XP Professional N, Windows XP Professional x64 Edition , Windows XP Service Pack 1, Windows XP Service Pack 2, Windows XP Starter Edition, Windows XP Tablet PC Edition

      • Using Managed DirectX ( MDX ) requires both Visual Studio .NET and the .NET framework for development. To run MDX .NET applications, you must install the .NET Framework.
      1. Click the Download button on this page to start the download
      2. Do one of the following:
        • To start the installation immediately, click Run.
        • To save the download to your computer for installation at a later time, click Save.
        • To cancel the installation, click Cancel.
    • This section contains the following:

      What's New in the October 2006 DirectX SDK

      This version of the DirectX SDK contains the following new features, tools, and documentation.

      PIX: HLSL Shader Debugging in Direct3D 9

      Using PIX, you can now debug HLSL pixel shaders and vertex shaders in the context of your game. The shader debugger can be started from either the pixel history view or from the mesh viewer. Using the debugger, you can step through the code (forward and backward), stop on the cursor or user-set breakpoints, and add highlights to syntax to make the code easier to read.

      Preview Release of the new HLSL Shader Compiler for Direct3D 9 Targets

      This release has a beta version of d3dx9d_31_beta.dll that includes the Direct3D 10 HLSL compiler enabled for Direct3D 9 targets (shader models 2.0 and later). The new compiler has no support for 1_x targets. This debug-only DLL allows developers to utilize the new Direct3D 10 HLSL compiler for their Direct3D 9 shaders, and will become the default compiler for all Direct3D shaders. Please try the new compiler by building your application with d3dx9d_31_beta.dll instead of d3dx9d_31.dll.

      For developers using Direct3D 9, the beta DLL provides a programmatic way of using the shader compiler, FXC10.exe, that ships as part of the Direct3D 10 Technology Preview.

      It is important to note that this library is still in the beta stage of development. If you have any questions, bugs reports, or feedback, please contact

      Usability Improvements in XACT

      Several usability features have been added to XACT. One such notable feature is that waves in a wavebank that are unused by any sounds are highlighted in red and italics, making it easy to identify those waves that can be removed.

      Improved Control of Chart Quality Using UVAtlas Functions

      The Direct3DX DLL has been updated with several improvements. Notably, both D3DXUVAtlasCreate and D3DXUVAtlasPartition now have an additional parameter, dwOptions, that allows developers to control the quality of the generated charts. The file name of the updated DLL is d3dx9_31.dll.


      The XInput DLL has been updated with a new function, XInputGetKeystroke. This function provides a more general way of getting input data than using XInputGetState. Additionally, the file name of the updated DLL is xinput1_3.dll.

      Known Issues with the October 2006 SDK

      Managed DirectX 2.0 Beta Removed

      In the October 2006 SDK, the Managed DirectX 2.0 Beta has been removed and is no longer supported. There are two distinct paths for developers migrating from Managed DirectX 2.0.

      If you are currently using Managed DirectX 2.0 for tool, editors, or other applications that require specific Direct3D, Direct3DX, DirectSound, or DirectInput functionality, you should migrate to the Managed DirectX 1.1 runtime. Managed DirectX 1.1 is completely compatible with the .NET Framework 2.0 and will not require you to change the version of the CLR.

      If you are planning to release a game using the .NET Framework, it is recommended that you adopt XNA Game Studio Express, currently in beta. XNA Game Studio Express uses the XNA Framework which is very similar to Manged DirectX in many respects. XNA Game Studio Express is scheduled for release before the end of 2006. This first release is targeted at hobbyists developers and students.

      If you have any questions, comments, and/or concerns please contact

      DirectX Control Panel Removed from the Microsoft Control Panel

      In the August 2006 and later SDKs, the DirectX® Control Panel has been removed from the Microsoft® Control Panel. You can now find the DirectX Control Panel in the Start menu under All Programs, Microsoft DirectX SDK, DirectX Utilities. In addition, the control panel executable has been renamed from directx.cpl to dxcpl.exe; it can be found in both the %DXSDK_DIR%\utilities\bin\x64 and %DXSDK_DIR%\utilities\bin\x86 folders.

      Signature Change: D3DXUVAtlasCreate and D3DXUVAtlasPartition

      In the October 2006 SDK, a new parameter, dwOptions, was added to D3DXUVAtlasCreate and D3DXUVAtlasPartition. This parameter allows developers to control the quality of the generated charts.

      Preview Version of the New HLSL Shader Compiler for Direct3D 9 Targets: No Support for 1.x Pixel Shader Targets

      The October 2006 SDK includes d3dx9d_31_beta.dll. This debug DLL includes the Direct3D 10 HLSL compiler enabled for Direct3D 9 targets (shader models 2.0 and later). The new compiler has no support for 1.x pixel shader targets. In a future release, the new compiler will become the default for Direct3D 9. As a result, all developers are encouraged to author their shaders in HLSL and use shader models 2.0 and higher.

      The new compiler exposed through the beta DLL also has the following issues:

      • Using the cbuffer or technique10 keywords in shader model 3.0 or lower will cause the shader to not compile.
      • Using asm_fragment blocks is not supported by the beta DLL. Compilation of shaders or effects containing these statements will fail.
      These issues will be fixed in a future release of the SDK.

      Direct3D 10 Technology Preview

      Windows Vista RC1 Is Required for the Direct3D Technology Preview

      The October 2006 Direct3D® 10 Technology Preview is only supported on Windows Vista™ RC1 (build 5600).

      Direct3D HLSL Compilation Issues

      In the August 2006 and later SDKs, there are several issues related to the new HLSL compiler, fxc10.exe:

      • The Direct3D 9 compatibilty mode (D3D10_SHADER_ENABLE_BACKWARDS_COMPATIBILITY) is not fully implemented.
      • Because only a subset of HLSL optimizations and new features are active in this release, generated shaders will not be fully optimized.
      • The /Op switch doesn't work.
      These issues will be fixed in a future release of the SDK.

      Displacement Mapping Sample Renders Incorrectly

      In the October 2006 SDK, the Displacement Mapping sample for Direct3D 10 renders incorrectly due to a bad displacement map texture. This issue will be fixed in a future release of the SDK.

      Per-Sample Readback of MSAA Render Targets in the Shader Not Supported in the Reference Rasterizer

      In the August 2006 and later SDKs, per-sample readback of MSAA render targets in the shader is not yet supported by the Direct3D 10 reference rasterizer. This issue will be fixed in a future release of the SDK.

      DXGI: Cross-Process Shared Surfaces Not Supported in the Reference Rasterizer

      In the August 2006 and later SDKs, cross-process shared surfaces are not supported when using the Reference Rasterizer. This issue will be fixed in a future release of the SDK.

      PIX for Windows

      In the August 2006 and later SDKs, PIX has the following issues:

      • Direct3D 10 API rendering requires Direct3D 10 to be installed on the system. However, even if it is not installed on the system, the Direct3D object table and event pane will still work.
      • Some of the advanced features of the surface viewer in the PIX detail pane require a minimum of shader model 2.0 hardware.
      • PIX currently does not capture D3DX10 API calls. The Direct3D 10 API calls that the D3DX10 APIs make will be captured and can be replayed.
      • The pixel history feature does not currently support point, line, and instancing primitive types, which will be supported in a future release. Pixel history currently only works on non-multisampled render targets but support for multisampling will be added in a future release.
      • You cannot view Direct3D objects from the context menu until they are valid. To make an object valid, select an event in the render pane (or any other detail pane) after the object is created.
      • The "Modify D3D Device," "Modify Draw Calls," and "Save Device State" actions do not yet work for Direct3D 10 devices.
      • For applications that use Direct3D 10, full stream capture only works when the trigger is "Program Start."
      • PIX no longer supports the capture of D3DX9 calls in applications that link to the static version of D3DX9 but PIX will continue to capture the D3D API calls that the D3DX API makes.

      Microsoft Cross-Platform Audio Creation Tool (XACT)

      In the August 2006 and later SDKs, the Microsoft Cross-Platform Audio Creation Tool (XACT) has the following issues:

      • The XACT GUI is not yet supported in Windows Vista.
      • The XACT Authoring Tool is still in beta for this release. (The XACT engine is release quality and is included in the DirectX redistributable package.)
      • The XACT Authoring Tool requires administrative privileges to run.
      • Looping sounds with multiple tracks will get out of sync over time if some tracks have multiple variations and others don't.
      Shader Debugging in Visual Studio 2005

      In the August 2006 and later SDKs, the shader debugging functionality of the DirectX Extensions for Visual Studio® does not work with Visual Studio 2005. (Syntax highlighting continues to work with Visual Studio 2005.)


      When XInputGetState is used to retrieve controller data, the left and right triggers are each reported separately. For legacy reasons, when DirectInput® retrieves controller data, the two triggers share the same axis. The legacy behavior is noticeable in the current Game Device Control Panel, which uses DirectInput for controller state.

      Installation Notes for All Platforms

      • This SDK will install on Windows XP, Windows Server® 2003, and Windows Vista RC1 using Visual Studio .NET 2003 or 2005.
      • Before installing the current DirectX SDK, you should remove previous versions of the DirectX SDK.
      • Some samples require that the latest Microsoft Platform SDK be installed on your system.
      • If you encounter compilation issues related to the DirectX headers, make sure that the include directories in Visual Studio are set correctly. On the Win32 platform, make sure that there is a reference to the DirectX headers: either "$(DXSDK_DIR)include" or "c:\program files\microsoft DirectX SDK (October 2006)\Include" underneath the include directory: "$(VCInstallDir)Include".
      • SDK Installation to a network share is not supported and some components (documentation and managed samples) will not run.
      • Several virus protection software applications interfere with SDK installation and may require you to temporarily disable virus protection software until SDK installation is completed.
      • If you encounter "A cabinet file is necessary for installation and cannot be trusted" error during installation, your system may be corrupted or cryptographic services may be disabled. To attempt to resolve the problem, please try the following:

        1. Enable cryptographic services: On the Start menu, right click on My Computer and then click Manage, which will display the Computer Management window. In the left panel of the window, click Services and Applications. Then, in the right panel of the window, double click on Services, then double click Cryptographic Services, which will display the Cryptographic Services Properties window. In the General tab of that window, make sure that Service Status is Started and that Startup Type is Automatic.
        2. If you are running Windows on a FAT32 drive, run scandisk.
        3. Try the resolution steps in Detecting digital signing issues in Windows XP
        4. Try the resolution steps in You cannot install some updates or programs
        5. Remove temporary files in %temp% and (if installing end-user runtime) "%windir%\system32\directx\websetup Error"
      • External firewall programs may highlight that the file "InstallDeveloperFiles.exe" wants to access the Internet. This is by design and should be enabled.

      Installation Notes for Vista RC1

      Running Microsoft_DirectX_SDK.msi instead of setup.exe requires "Run As Administrator" to work correctly. If you install using setup.exe instead of using the MSI, you will be prompted for elevated permissions before the installation can succeed.

      This release does not install any Developer Runtime components on earlier versions of Windows Vista. If you are running Windows Vista Beta 2 (or earlier) and you need Developer Runtime components, you can use older releases of the DirectX SDK. Or you can copy the components that you need (debug DLLs and symbols) from "checked" builds of Vista. All release versions of D3DX and the latest debug version are installed on all versions of Windows Vista.

Site feedback

What category would you like to give web site feedback on?

Rate your level of satisfaction with this web page today: