Re: How to compile Pro*C with Borland Command line tools (BCC32.exe)

From: John Brown <johnbrown105_at_hotmail.com>
Date: 16 May 2002 11:55:27 -0700
Message-ID: <ee1f9e62.0205161055.168d20fa_at_posting.google.com>


"MC" <mc_at_somewhere.com> wrote in message news:<l5GE8.495479$K52.84329694_at_typhoon.tampabay.rr.com>...

> Error: 'C:\ORACLE\ORA81\PRECOMP\LIB\ORASQL8.LIB' contains invalid OMF
> record, type 0x21 (possibly COFF)
> ----

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. Received on Thu May 16 2002 - 20:55:27 CEST

Original text of this message