Appendix B. Installing DirectX and Using the C/C++ Compiler
The most important part of the CD that you must install is the DirectX SDK and runtime files. The installation program is located within the DIRECTX\ directory, along with a README.TXT file explaining any last-minute changes.
You must have the DirectX 8.0 SDK or better to work with this CD and book. If you're not sure that you have the latest files on your system, run the installation and it will tell you.
When you're installing DirectX, pay attention to the location where the installer places the SDK files. You will have to point your compiler's LIB and HEADER search paths appropriately when you want to compile.
In addition, when you install the DirectX SDK, the installer will also ask if you want to install the DirectX runtime files. You need the runtime files as well as the SDK to run the programs. However, there are two versions of the runtime libraries:
Attention Borland users (if there are any left): The DirectX SDK does have Borland versions of the DirectX .LIB import libraries. You will find them in the BORLAND\ directory of the DirectX SDK installation. You must use these files when compiling. Also, make sure to go to Borland's Web site and read the README.TXT file in the BORLAND\ directory for any last-minute hints on compiling DirectX programs with Borland compilers