{"id":2224,"date":"2014-03-21T11:31:51","date_gmt":"2014-03-21T03:31:51","guid":{"rendered":"https:\/\/blog.rexdf.org\/?p=2224"},"modified":"2014-03-21T11:34:50","modified_gmt":"2014-03-21T03:34:50","slug":"directx-sdk%e5%8f%98%e8%bf%81%e8%a1%a8%e8%bd%ac","status":"publish","type":"post","link":"https:\/\/blog.rexdf.org\/en\/2014\/03\/directx-sdk%e5%8f%98%e8%bf%81%e8%a1%a8%e8%bd%ac\/","title":{"rendered":"DirectX SDKs of a certain age"},"content":{"rendered":"<p>Recently many older releases of the DirectX SDK and REDIST packages expired and were removed from the Microsoft Downloads Center site. The DirectX SDK and REDIST packages for all 2008, 2009, and 2010 releases are currently\u00a0available, but all 2007 and prior releases are no longer hosted by Microsoft.<\/p>\n<p>Here is a quick summary of DirectX technologies and recommended solutions. Be sure to read <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2012\/03\/22\/where-is-the-directx-sdk.aspx\">Where is the DirectX SDK?<\/a> and <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2013\/07\/01\/where-is-the-directx-sdk-2013-edition.aspx\">Where is the DirectX SDK (2013 Edition)?<\/a> as well.<\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<td><strong>Technology<\/strong><\/td>\n<td><strong>Resolution<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Direct3D 11.2<\/td>\n<td>The Windows SDK 8.1 includes Direct3D 11.2, Direct2D 1.2, and DXGI 1.3.<\/p>\n<p>The DirectX 11.2 Runtime is included with Windows 8.1 \/ Windows Server 2012 R2.<\/td>\n<\/tr>\n<tr>\n<td>Direct3D 11.1<\/td>\n<td>The Windows SDK 8.0 includes Direct3D 11.1, updated Direct2D\/DirectWrite, updated WARP, and DXGI 1.2.<\/p>\n<p>The DirectX 11.1 Runtime is included with Windows 8 \/ Windows Server 2012. <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/jj863687.aspx\">Partial support<\/a> is available down-level on Windows 7 \/ Windows Server 2008 R2 Service Pack 1 via <a href=\"http:\/\/support.microsoft.com\/kb\/2670838\">KB 2670838<\/a>.<\/td>\n<\/tr>\n<tr>\n<td>Direct3D 11.0<\/td>\n<td>The Windows SDK 7.0 includes Direct3D 11.0, Direct2D, DirectWrite, WARP, and DXGI 1.1.<\/p>\n<p>The DirectX 11.0 Runtime is included with Windows 7 \/ Windows Server 2008 R2. <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ee663867.aspx\">Support<\/a> is available down-level on Windows Vista \/ Windows Server 2008 Service Pack 2 via <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=160189\">KB 971644<\/a>.<\/td>\n<\/tr>\n<tr>\n<td>Direct3D 10.x<\/td>\n<td>The Windows SDK 6.0 or later includes Direct3D 10.x and DXGI 1.0.<\/p>\n<p>The DirectX 10.0 Runtime is included with Windows Vista \/ Windows Server 2008. The DirectX 10.1 Runtime is included with Windows Vista \/ Windows Server 2008 Service Pack 1.<\/p>\n<p>Windows SDK 7.0 or later includes updates for expanded Direct3D 10.1 <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2012\/06\/20\/direct3d-feature-levels.aspx\">feature levels<\/a>\u00a0(aka &#8220;10level9&#8221;) included with the DirectX 11.0 Runtime.<\/td>\n<\/tr>\n<tr>\n<td>Direct3D 9<\/td>\n<td>Windows SDK 6.0 or later includes Direct3D 9 and Direct3D9Ex.<\/p>\n<p>Direct3D 9.0c is included with Windows XP Service Pack 2, Windows Server 2003 Service Pack 1, and Windows XP x64 Edition.<\/p>\n<p>Direct3D9Ex is supported by Windows Vista \/ Windows Server 2008.<\/td>\n<\/tr>\n<tr>\n<td>Direct3D 8 and prior<\/td>\n<td>The <em>August 2007 DirectX SDK<\/em> was the last version to include Direct3D 8 (<code>d3d8.h d3d8caps.h d3d8types.h<\/code>) and Direct3D 7 and prior (<code>d3d.h d3dcaps.h d3dvec.inl d3dtypes.h<\/code>).<\/p>\n<p>Direct3D 9 or later should be used for all applications, and we&#8217;d recommend using <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2011\/07\/11\/getting-started-with-direct3d-11.aspx\">Direct3D 11<\/a>.<\/td>\n<\/tr>\n<tr>\n<td><code>D3DX<\/code><\/td>\n<td>The <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2010\/06\/10\/announcement-directx-sdk-june-2010-is-live.aspx\">June 2010 DirectX SDK<\/a> contains the last release of D3DX9, D3DX10, and D3DX11.<\/p>\n<p><a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2012\/03\/27\/introducing-directxmath.aspx\">DirectXMath<\/a>, <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2011\/10\/28\/directxtex.aspx\">DirectXTex<\/a>, and <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2012\/05\/07\/hlsl-fxc-and-d3dcompile.aspx\">D3DCompile<\/a> replace the majority of the functionality in these utility libraries. <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2012\/03\/02\/directxtk.aspx\">DirectXTK<\/a>\u00a0provides further alternatives for Direct3D 11 applications. For Direct3D 9 applications, the <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2010\/07\/15\/ddswithoutd3dx-sample-update.aspx\">DDSWithoutD3DX<\/a> sample provides a way to create textures from <code>.DDS<\/code> files.<\/p>\n<p>The <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2012\/10\/24\/effects-for-direct3d-11-update.aspx\">Effects 11<\/a> library is available as shared-source online.<\/td>\n<\/tr>\n<tr>\n<td><code>DXERR9.LIB<\/code><\/td>\n<td>The <em>August 2007 DirectX SDK<\/em> was the last version to include the <code>dxerr9.lib<\/code>. It has been replaced by <code>dxerr.lib<\/code> in <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2010\/06\/10\/announcement-directx-sdk-june-2010-is-live.aspx\">June 2010 DirectX SDK<\/a> which supports all the same error codes plus some new ones. Changing references to <code>dxerr.lib<\/code> or making a copy as <code>dxerr9.lib<\/code> should resolve link\u00a0issues for this library.<\/p>\n<p>Note for Windows 8.x SDK users, see <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2012\/04\/24\/where-s-dxerr-lib.aspx\">this<\/a> post for a replacement solution.<\/td>\n<\/tr>\n<tr>\n<td>XACT<\/td>\n<td>The <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2010\/06\/10\/announcement-directx-sdk-june-2010-is-live.aspx\">June 2010 DirectX SDK<\/a> contains the last release of the Xbox Audio Cross Platform Tool (XACT) for Windows.<\/p>\n<p>For games, we recommend using <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2012\/05\/15\/learning-xaudio2.aspx\">XAudio2<\/a> or a 3rd party middleware solution instead.<\/td>\n<\/tr>\n<tr>\n<td>DirectDraw<\/td>\n<td>While <em>February 2010 DirectX SDK<\/em> was the last to contain <code>ddraw.h<\/code> and <code>ddraw.lib<\/code>, <code>ddraw.h<\/code> is still available in the Windows SDK 6.0\u00a0or later.\u00a0<code>ddraw.lib<\/code> isn&#8217;t needed.<\/p>\n<p>See <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2010\/06\/16\/wither-directdraw.aspx\">Wither DirectDraw<\/a> for details.<\/td>\n<\/tr>\n<tr>\n<td>DirectInput<\/td>\n<td>The <em>August 2007 DirectX SDK<\/em> was the last version to include DirectInput7 and prior (<code>dinput.lib<\/code>). DirectInput8 (<code>dinput.h dinput8.lib<\/code>) is available in the Windows SDK 7.0 or later and is supported for both x86 and x64 native Win32 desktop applications.<\/p>\n<p>For gamepads, we&#8217;d recommend supporting XINPUT. XINPUT 9.1.0 headers and libraries are available in the Windows SDK 6.0 or later. See <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2012\/04\/26\/xinput-and-windows-8-consumer-preview.aspx\">this<\/a> post for additional information. For mouse and keyboard input, you should use standard Windows messages rather than DirectInput as well.<\/td>\n<\/tr>\n<tr>\n<td>DirectSound<\/td>\n<td>DirectSound8 (<code>dsconf.h dsound.h dsound.lib<\/code>) is available in the Windows SDK 7.0 or later and is supported for both x86 and x64 native Win32 desktop applications.<\/p>\n<p>For games, we recommend using <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2012\/05\/15\/learning-xaudio2.aspx\">XAudio2<\/a> instead. Audio engines with their own mixing engine and source rate conversion (SRC) support should use <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/dd371455.aspx\">WASAPI<\/a>\u00a0on Windows Vista or later.<\/td>\n<\/tr>\n<tr>\n<td>DirectMusic<\/td>\n<td>The <em>August 2007 DirectX SDK<\/em> was the last version to include DirectMusic, and the DirectMusic Producer tool download is no longer hosted by Microsoft. Use of DirectMusic for games is not recommended.<\/p>\n<p>&#8220;Core&#8221; DirectMusic headers (<code>dls1.h dls2.h dmdls.h dmerror.h dmksctrl.h dmusbuff.h dmusicc.h dmusics.h<\/code>) for use by professional audio developers are available in the <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2010\/06\/15\/windows-sdk-7-1.aspx\">Windows SDK 7.1<\/a> or later, and supported for both x86 and\u00a0x64 native Win32 desktop applications by Windows 7 and Windows 8.<\/td>\n<\/tr>\n<tr>\n<td>DirectShow<\/td>\n<td>The<em> February 2005\u00a0DirectX SDK<\/em> was the last to include DirectShow headers, but these are available in the Windows SDK.<\/p>\n<p><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms694197.aspx\">Media Foundation<\/a> available on Windows Vista and later versions of Windows is recommended over DirectShow for video playback. Be sure to read <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2010\/08\/13\/quot-who-moved-my-windows-media-cheese-quot.aspx\">this<\/a> post for some additional considerations.<\/td>\n<\/tr>\n<tr>\n<td>DirectPlay<\/td>\n<td>The <em>August 2007 DirectX SDK<\/em> was the last version to include DirectPlay (<code>dpaddr.h dplay.h dplobby.h dplay8.h dplobby8.h dpnathlp.h dplayx.lib<\/code>). The DirectPlay NAT helper is not supported on Windows Vista or newer versions of Windows.<\/p>\n<p>For games we recommend using TCP\/IP via the WinSock API for network communication. To replace the &#8216;lobby&#8217; functionality, you can utilize any number of the many game services available today from <a href=\"http:\/\/www.xbox.com\/en-US\/Developers\">Microsoft<\/a> and other vendors.<\/td>\n<\/tr>\n<tr>\n<td>DirectAnimation<\/td>\n<td>The<em> August 2007 DirectX SDK<\/em> was the last version to include <code>dxtrans.h<\/code> and <code>dxtrans.lib<\/code>.<\/p>\n<p>This technology was used at one point by Internet Explorer, but this is no longer in use.<\/td>\n<\/tr>\n<tr>\n<td>Managed DirectX 1.1<\/td>\n<td>The <em>August 2006 DirectX SDK<\/em> was the last version to include the samples and documentation for Managed DirectX 1.1.<\/p>\n<p>See <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2010\/12\/09\/directx-and-net.aspx\">DirectX and .NET<\/a> for more information.<\/td>\n<\/tr>\n<tr>\n<td>Direct3D Retained Mode<\/td>\n<td>The<em> August 2007 DirectX SDK<\/em> was the last version to include <code>d3drm.h d3drmdef.h d3drmobj.h d3drmwin.h<\/code>.<\/p>\n<p>This component is not supported on Windows Vista or newer versions of Windows (see <a href=\"http:\/\/support.microsoft.com\/kb\/969150\">KB 969150<\/a>).<\/td>\n<\/tr>\n<tr>\n<td>DirectPlay Voice<\/td>\n<td>The <em>August 2007 DirectX SDK<\/em> was the last version to include <code>dvoice.h<\/code>.<\/p>\n<p>This component is not supported on Windows Vista or newer versions of Windows (see <a href=\"http:\/\/support.microsoft.com\/kb\/970978\">KB 970978<\/a>).<\/td>\n<\/tr>\n<tr>\n<td>DirectX 7\/8 Visual Basic 6.0<\/td>\n<td>The <em>August 2007 DirectX SDK<\/em> was the last version to include <code>dx7todx8.h<\/code>.<\/p>\n<p>This component is not supported on Windows Vista or newer versions of Windows (see <a href=\"http:\/\/support.microsoft.com\/kb\/971028\">KB 971028<\/a>).<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>DirectSetup: <\/strong>For the REDIST package, the current <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2010\/11\/30\/dxwebsetup-update.aspx\">web redist<\/a> and <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2011\/04\/19\/dxsetup-update.aspx\">standalone package<\/a> will install all older and current verisons of the various optional side-by-side DLLs on Windows XP Service Pack 2 or later. See <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2010\/09\/08\/not-so-direct-setup.aspx\">Not So Direct Setup<\/a> for more details and notes about older releases.<\/p>\n<p><strong>Dark GDK<\/strong>: For users of the <em>Dark GDK<\/em> that was promoted for Visual Studio 2008 Express, the retirement of the <em>DirectX SDK (August 2007)<\/em> poses some challenges. There are some community work-arounds for disabling the use of DirectPlay and resolving the link problems with <code>DXERR9.LIB<\/code> (such as <a href=\"http:\/\/romsteady.blogspot.com\/2010\/12\/compiling-darkgdk-and-visual-studio.html\">this<\/a> post), and these are preferrable to continuing to use a copy of the <em>DirectX SDK (August 2007)<\/em>.<\/p>\n<p><strong>DirectX SDK (August 2007):<\/strong> If you obtain a copy of this package\u00a0from an unofficial mirror, be very careful as installing executables that require administrator privledges from untrusted websites carries a potential risk of adding your machine to a botnet and getting infected by other malware. Check that the EXE is signed with a valid Microsoft Digital Signature before running it. These unofficial mirrors\u00a0are not supported or sponsered by Microsoft.<\/p>\n<p><strong>VS 2005:<\/strong> Windows 7.1 SDK and DirectX SDK (February 2005) were the last releases to support Visual Studio 2005.<\/p>\n<p><strong>VS 2008:<\/strong> Windows 7.1 SDK and DirectX SDK (June 2010) were the last releases to support Visual Studio 2008.<\/p>\n<p><strong>VS 2010: <\/strong>Visual Studio 2010 comes with the Windows 7.0 SDK included. You can make use of the Windows 7.1 SDK with VS 2010 by using a <a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2010\/06\/15\/windows-sdk-7-1.aspx\">Platform Toolset<\/a> setting. You can use the Windows 8.0 or 8.1 SDK by creating a <a href=\"http:\/\/blogs.msdn.com\/b\/vcblog\/archive\/2012\/11\/23\/using-the-windows-8-sdk-with-visual-studio-2010-configuring-multiple-projects.aspx\">property sheet<\/a> for your project.<\/p>\n<p><strong>VS 2012:<\/strong> Visual Studio 2012 comes with the Windows 8.0 SDK included. Mixing the Windows 8.x SDK with the legacy DirectX SDK requires some specific <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ee663275.aspx\">build settings<\/a>.<\/p>\n<p><strong>VS 2012 Update 1:<\/strong> Support for Windows XP the &#8220;<a href=\"http:\/\/blogs.msdn.com\/b\/chuckw\/archive\/2012\/11\/26\/visual-studio-2012-update-1.aspx\">v110_xp<\/a>&#8221; Platform Toolset makes use of a Windows SDK 7.1A which is basically the same as 7.1.<\/p>\n<p><strong>VS 2013:<\/strong> Visual Studio 2013 comes with the Windows 8.1 SDK included.<\/p>","protected":false},"excerpt":{"rendered":"<p>Recently many older releases of the DirectX SDK and REDIST packages expired and were removed from the Microsoft Downloads Center site. The DirectX SDK and REDIST packages for all 2008, 2009, and 2010 releases are currently\u00a0available, but all 2007 and &hellip; <a href=\"https:\/\/blog.rexdf.org\/en\/2014\/03\/directx-sdk%e5%8f%98%e8%bf%81%e8%a1%a8%e8%bd%ac\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[18],"tags":[188,187],"class_list":["post-2224","post","type-post","status-publish","format-standard","hentry","category-program","tag-directx","tag-directxsdk"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.rexdf.org\/en\/wp-json\/wp\/v2\/posts\/2224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.rexdf.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.rexdf.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.rexdf.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.rexdf.org\/en\/wp-json\/wp\/v2\/comments?post=2224"}],"version-history":[{"count":0,"href":"https:\/\/blog.rexdf.org\/en\/wp-json\/wp\/v2\/posts\/2224\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.rexdf.org\/en\/wp-json\/wp\/v2\/media?parent=2224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rexdf.org\/en\/wp-json\/wp\/v2\/categories?post=2224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rexdf.org\/en\/wp-json\/wp\/v2\/tags?post=2224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}