Advertisement

DirectX with C++ Builder

Started by March 17, 2000 07:03 AM
1 comment, last by Tommi Lehtinen 24 years, 7 months ago
I have this problem, I can''t compile DirectSound- or DirectInput-examples with Borland C++ Builder 4. I use Borland-specific libraries, I include all the necessary headers, then I try to compile them and every time I get a following error: "error processing module". So what should I do about it? I can compile DirectDraw,DirectSound and DirectInput-examples with DirectX 6.0 libraries, but not with version 5.0 or 7.0 ! What exactly makes them so different? I can compile only DirectDraw-examples with versions 5.0 and 7.0, nothing more! I was told that Borland C++ Builder 4 is 100% DirectX compatible, so what can I do to compile version 5.0 and 7.0 examples correctly?
It is. But the import libraries are bad.

I had this problem also, with dinput.
Even with the special ones from MS which are supposed to work with Borland.

You will need to create a new import library for the dinput.dll

To do this you have to use the IMPLIB.exe command line utility. Just do a search on it in the help and you should find the necessary info.

I had to play with the options to get it to work, I believe there is an option for MS compatibility and I think you have to specify that one.

Good luck.
Advertisement
Hmm.... I tried to use IMPLIB but with no success.... Can you kindly tell me how to convert those libs? Or do you happen to know where can I get (download) those libs which are already converted?

invisigoth73@hotmail.com

quote: Original post by SteveC

It is. But the import libraries are bad.

I had this problem also, with dinput.
Even with the special ones from MS which are supposed to work with Borland.

You will need to create a new import library for the dinput.dll

To do this you have to use the IMPLIB.exe command line utility. Just do a search on it in the help and you should find the necessary info.

I had to play with the options to get it to work, I believe there is an option for MS compatibility and I think you have to specify that one.

Good luck.


This topic is closed to new replies.

Advertisement