Installing multiple versions of DirectX sdk

I have some DirectX applications that I developed in college using the August 2007 DirectX SDK. I would like to have August 2007 and have the latest SDK installed so I can port my application to the newest framework.

Does anyone have experience installing multiple frameworks or is it not recommended?

thank

+2


source to share


3 answers


We have moved away from using "Tool-> Options-> Projects and Solutions" to define the included directories for both the system and wide format SDK in the project settings. The reason for this was that it was not carried over when we added a new developer to the team. This would mean that the new person copies all those additional directories and libs.

Instead, we decided to use only the project options, include paths for the LIB and HPP files. We rarely turned to VC ++ Directories projects and solutions in TOOL-> Options-> Projects and Solutions.



We recommend that you install the early SDK first, then build it, and then move on to the latest framework. Even pick a virtual machine so you can speed up fast forward and rewind depending on what you are getting the DLL at. But as far as I know, DirectX uniquely names its DLLS with a version number to prevent the DLL addon from appearing.

Good luck.

+2


source


My solution is to make sure you change all of the visual studio paths associated with directx to use the environment variable generated by the dxsdk installer (it called something like DXSDK_DIR). Then you change all include and library paths in visual studio to $(DXSDK_DIR)\whatever

instead of C:\Program Files\DirectXSDKSpecificVersion\whatever

. This means that you can change the DirectX version by changing this environment variable and restarting visual studio.



If you are using a different development environment, the same trick should apply, but you must change your makefile or whatever build setting you use.

+1


source


IMO, you don't need this. It's not much of a hassle, updating to the latest version. As long as you do something right, there should be a few problems. The only thing that has changed in the last couple of years is the shader compiler, but the error messages are very handy to let you know what's going on :)

0


source







All Articles