Smart questions
Smart answers
Smart people
Join Tek-Tips Forums
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Problems Linking MS .lib - COFF2OMF is no help

ranton (TechnicalUser) (OP)
14 Sep 01 16:37
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.
Guest (visitor)
18 Sep 01 18:07
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:

     http://www.bcbdev.com/articles/vcdll2.htm

was very illuminating.  Thanks Harold!

-mark-

dArktEmplAr (Programmer)
24 Sep 01 10:04
use the implib utility

Welcome to the Pythian Games!
Long live Godess Athena!
dArktEmplAr of Delphi Oracle

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close