You need to convert the COFF format import lib to a OMF format one.
Either try using Coff2Omf to convert the import lib or roll your own by
> i want get directx6 programs running with c++ builder. I am getting an
> linker error like
> wrong OMF record in 0x021....
> so what should I do?
> I included the lib into the project(the borland lib).