Advertisement

Compiling Direct-X With Borland C++ Builder

Started by September 05, 2000 06:21 PM
1 comment, last by DiscoStoo 24 years, 3 months ago
I seem to be having a small problem with Direct-X and Borland C++ Builder. I have the command-line version, and it comes with it''s own Direct-X headers and libs, and the file even compiles fine. The problem come when the linker kicks in. Here is the error message it gives me when it tries to link: unresolved external ''DirectDrawCreateEx'' referenced from dawin.obj Any help or clues would be greatly appreciated.
------------------------------------------------------------He wants a shoehorn, the kind with teeth, because he knows there's no such thing.
Funny it gets to the linker, directdrawcreateex was introduced in directx7... Ohwell, guess they finally decided to get up-to-date with it. Cbuider4 Professional comes with dx4 libraries and headers... And no documentation whatsoever.
However, install directx7 sdk, and use it's libraries and headers anyway.
And you will need to link ddraw.lib too. And other libraries (d3dim.lib, dxguid.lib and others) if needed.

Edited by - Hway on September 6, 2000 6:37:24 AM
~~~ "'impossible' is a word in the dictonary of fools" --Napoleon
Advertisement
Actually, I''m using C++ Builder 5.5, which comes with the "Borland version" of the dx7sdk. It just took a little extra work to get it to compile, but I got it working, thanks.

------------------------------
I want a shoehorn with teeth, because I know there's no such thing.
------------------------------------------------------------He wants a shoehorn, the kind with teeth, because he knows there's no such thing.

This topic is closed to new replies.

Advertisement