DirectX SDK Examples Patch Utility For Borland C++.
To let the "3D" examples work with Borland C++ you have to compile them in "CPP" mode.
This is because of the anonymous unions in the header files.
To do this you have to remove the "lpVtbl->" and first argument from the function calls.
You can do this for every file using your editor, but you can also use the "PlpVtbl" utility.
This utility needs the "C" filename as input an produces a "CPP" file.
Click here to download this utility.(23K)
© 1997 jovo@hotmail.com