I have not tried this myself, but your problem is exactly what the compiler is reporting. The libraries shipped with Pro*C are Microsoft Visual C++-compatible. They are in COFF format. Borland's libraries are in OMF format. You need to use Borland's IMPLIB utility to generate your own Borland-compatible import library.
Problem With Borland Linker
The linker error you are getting is pretty common and has to do with Borland rather than ImageMagick. There is plenty of advice to be read with Google. One fellow says
Hi!I executed the above command in command prompt and i did convert CORE_RL_Magick++_.lib to a new one CORE_RL_Magick++_omf_.lib but i still get the same linker error message:
[Linker Error] 'D:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\IVUS\CORE_RL_MAGICK++_.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
What should I do?Anyone can help?
[Linker Error] 'D:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\IVUS\CORE_RL_MAGICK++_.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
What should I do?Anyone can help?