Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems Linking MS .lib - COFF2OMF is no help

Status
Not open for further replies.

ranton

Technical User
Sep 14, 2001
1
0
0
CA
I am trying to link a MS .lib using C++ Builder 4. Error is:
[Linker Error] 'C:\TIBCO\TIBRV\LIB\LIBTIBRVCPP.LIB' contains invalid OMF record, type 0x21 (possibly COFF).

F1 help states:
"The object file is corrupt or is not an OMF object file. If linking a COFF import library, try running the utility COFF2OMF.EXE, located in the BIN directory."

I have tried to use the COFF2OMF program but it generates an empty file (only 512 bytes, no entries).

Any suggestions on how to use this lib with C++ Builder?

TIA
Rob A.
 
After spending many hours researching this problem I discovered that unfortunately in my case it can't readily (or even close to readily) be done. I found 2 very good artiles at bcbdev.com written by Harold Howe that discuss the in's and out's of using VC++ dll's from BCB land. In particular the article at:


was very illuminating. Thanks Harold!

-mark-
 
use the implib utility Welcome to the Pythian Games!
Long live Godess Athena!
dArktEmplAr of Delphi Oracle
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top