This page describes which additional files you will need and actions you should take to compile
samples from MS DirectX 8.x SDK's in
Borland C++Builder. All these
actions were tested in version 5.0 of C++Builder.
What additional files do you need?
- C++Builder library pack
Direct3D 8.0b version /
Direct3D 8.1 version /
Direct3D 9.0 version ]
- DLL needed for both Delphi and C++ Builder, to use D3DX8 functionality
for DirectX 8.0b /
for DirectX 8.1 /
for DirectX 9.0 ]
It's recommended to place these DLLs in Windows system directory.
- Original DirectX SDK include files and samples ;-)
[ can be downloaded here ]
Here we go:
- Launch "Visual C++ Project Convertion Utility" under Tools menu. Point this utility to
convert DSP files from the wanted sample. After proceeding you should choose "Win32 Release"
project to convert. After convertion you will see a certain number of warnings - don't
bother scratching your head - everything is fine.
- Open project file (BPR) and under 'Project\Options\"Directories / Conditionals"' tab you
in "Include Path": path to MS SDK include files (default path is
in "Library Path": path to DirectX C++Builder library pack from
in "Conditional Defines":
- Push Compile button!