Advertisement

DX8 and C++ Builder 5

Started by November 19, 2000 04:05 PM
1 comment, last by Andre Luiz Silva 24 years, 1 month ago
I am trying to compile 2 lines of code for a Direct3DCreate8 but I get an error saying: "Linker Error - D3D8.LIB contains invalid OMF record, type 0x21 (possibly COFF). I know that for DX7 there were different lib files to use with Borland CBuilder. But I just can''t find it for DX8. Can somebody HELP me please. André André Luiz Silva
"- To begin with, said the Cat, a dog's not mad. You grant that? - I suppose so, said Alice. - Well, then, - the Cat went on - you see, a dog growls when it's angry, and wags its tail when it's pleased. Now I growl when I'm pleased, and wag my tail when I'm angry. Therefore I'm mad."
You need to create the libraries for Borland. Borland and Microsoft use two differant formats. I believe Microsoft is COFF and Borland is OMF, thus the message. There is a command line utility name IMPLIB that will create the lib file off a DLL for you. It is documented in the help under command line tools.
Keys to success: Ability, ambition and opportunity.
Advertisement
THANKS, THANKS, THANKS!!!. It worked!!!



André Luiz Silva
"- To begin with, said the Cat, a dog's not mad. You grant that? - I suppose so, said Alice. - Well, then, - the Cat went on - you see, a dog growls when it's angry, and wags its tail when it's pleased. Now I growl when I'm pleased, and wag my tail when I'm angry. Therefore I'm mad."

This topic is closed to new replies.

Advertisement