🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Linking with Dialogic lib

#7747
From: AlexB
Date: Fri, 24 Dec 2004 04:48
22 lines
1509 bytes
Elias Berelian 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?

Try to use borland coff2omf utility:

VC2BC.bat
---------

@echo off
set BC_BIN_DIR=C:\Progra~1\Borland\CBuilder5\Bin

echo Creating Borland (OMF) import library from MS (COFF)...
%BC_BIN_DIR%\coff2omf MSlib3.lib BClib3.lib

set BC_BIN_DIR=

AlexB.
Technical Details
Message-ID: <41cb9f83@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!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
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 24 Dec 2004 10:48:03 +0600
From: AlexB <b.a.v@inbox.ru>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: ru, en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Linking with Dialogic lib
References: <41cadb3f@newsgroups.borland.com>
In-Reply-To: <41cadb3f@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 212.192.185.54
Message-ID: <41cb9f83@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1103863683 212.192.185.54 (23 Dec 2004 20:48:03 -0800)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail