🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7737

Re: Linking with Dialogic lib

#7737
From: Alan Bellingham
Date: Thu, 23 Dec 2004 14:56
22 lines
1629 bytes
"Elias Berelian" <eliasb@voyager.snetnsa.com> wrote:

>I am trying to link my BCB5 app with a series of .lib files. I get this
>error:
>   [Linker Error]: 'file.lib' contains invalid OMF record, type 0x21
>(possibly COFF)
>
>Any ideas?

You didn't use BCB5 to make the library?

If it's an import library, then use Borland's implib to recreate it.

If it's a static library from a third party, get them to supply it in
BCB5 format.

(Or if it's a VC++ third-party library, build a VC++ DLL linked to it,
export the relevant functions from the DLL, and implib that DLL.)

Alan Bellingham
-- 
ACCU Conference 2005 - 20-23 April, Randolph Hotel, Oxford, UK
Technical Details
Message-ID: <j0nls0d4oh5o97pc0q54odjvha8m0oe3tl@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41cadb3f@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ba1c4ddf99ac6e11,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Linking with Dialogic lib
Date: Thu, 23 Dec 2004 14:56:57 +0000
Reply-To: alanb@episys.com
Message-ID: <j0nls0d4oh5o97pc0q54odjvha8m0oe3tl@4ax.com>
References: <41cadb3f@newsgroups.borland.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.130
X-Trace: newsgroups.borland.com 1103813814 193.129.251.130 (23 Dec 2004 06:56:54 -0800)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail