moversger.blogg.se

Directx setup
Directx setup





directx setup

For each SDK version, there are library files for: What else is required depends on the SDK version you're using and which DirectX libraries your program builds on. To summarize, the following files are always required: The DirectSetup documentation page describes which files to distribute, and functions to copy/install the files. Thanksfully, Microsoft provides a simple API to do just that. Looking at the unpacked redistributable that comes with the SDK (C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Redist), there's nearly 100MB of files that go back to 2005-era SDK releases let's just install the ones that are required, seamlessly integrated in the main install. When building an application with a specific SDK version, your users will need the dll files (D3DX and compiler ones in particular) that belong to that specific release.Īlthough many programs (such as games) just include a complete DirectX redistributable installation and launch it as a separate step after the normal installation, there's a better way. Although major DirectX releases (9, 10, 11) only take place rarely, features do get added through a version's lifespan, resulting in SDK versions such as 'June 2010' ( end-user runtime, SDK). When trying to run a DirectX application on a computer other than the one you initially developed it on, you've probably had to deal with the program complaining about not being able to find DirectX related dll files. Note: If you're targeting the version of DirectX that comes with the Windows 8 SDK, you should simply have your installer put relevant DirectX DLLs in the application's target directory.







Directx setup