Building DirectX Transform Samples and Applications
This overview explains the download and installation procedures necessary to prepare your build environment to build the samples and applications described in the Microsoft DirectX Transform documentation.
Complete the following steps to prepare your build environment for Microsoft Visual C++ 6.0.
- Install DirectX and Win32 Headers and Libraries
- Install Internet Explorer Headers and Libraries
- Set the Visual C++ Environment Variables
Install DirectX and Win32 Headers and Libraries
- Go to the Windows Server 2003 SP1 Platform SDK Web Install site and move to the documentation to install the software development kit (SDK). The Windows Software Development Kit (SDK) download instructions tell you to install the entire Windows SDK. However, the instructions given below enable you to install only the portion required for Microsoft DirectX Transform.
- If you are not running Windows 2000 or Windows XP, follow the instructions on the Windows SDK setup site to download and update the Windows Installer.
- Install the Windows SDK setup.
- Custom-select the components you wish to download. Follow the instructions below to install only the components required for Microsoft DirectX Transform.
First, clear the selection of the entire Windows SDK tree.
Next, expand the Build Environment tree and select Win32 API.
After selection your tree should look something like the following image.
Next, expand the Graphics and Multimedia Services tree and select Microsoft DirectX 8.0.
After selection your tree should look something like the following image.
- Click Next and complete the installation.
Install Internet Explorer Headers and Libraries
The Microsoft DirectX Transform headers and libraries are available in the latest versions of the header and libraries for Microsoft Internet Explorer 5, Microsoft Internet Explorer 5.5, and Microsoft Internet Explorer 6. Follow the appropriate link and follow the instructions to download the latest version of the headers and libraries.
- Header files and libraries for Internet Explorer 6.0
- Headers and Libraries for Windows Internet Explorer 8
Set the Visual C++ Environment Variables
After installing the appropriate headers and libraries, you must ensure that the environment variables that tell Visual C++ 6.0 where to look for these headers and libraries are correct. Open Microsoft Visual C++ and complete the following steps.
On the Tools menu, click Options.
On the Directories tab, in the Show directories for: list, click Include files.
Type in the path to the directory containing the Windows SDK include files. By default, the path is
\Program Files\Microsoft SDKs
.Type in the path to the directory containing the Windows Internet Explorer include files. By default, the path is
\Workshop\IE6_lib\Include
for Internet Explorer 6.Position the Internet Explorer headers at the top of the include path with the Windows SDK directly beneath. The include path should look similar to the following image.
On the same Directories tab, click Library files in the list, and then type in the paths to the Windows SDK and Internet Explorer libraries.
Your build environment now has all the necessary header and library files, and you are ready to create Microsoft DirectX Transform samples and applications.