Article View: borland.public.cppbuilder.nativeapi
Article #13210Re: VisualC++ Library and C++ Builder
From: Remy Lebeau (TeamB)
Date: Sat, 25 Oct 2003 01:40
Date: Sat, 25 Oct 2003 01:40
21 lines
1634 bytes
1634 bytes
"Olivier" <odsinformatique@mail.pf> wrote in message news:3f99ccba@newsgroups.borland.com... > [Lieur Erreur] 'C:\CDK403\C++\LIB\PALMCMN.LIB' > contains invalid OMF record, type 0x21 (possibly COFF) You cannot include VC++ libraries into a BCB project, they are not compatible. > Do you know what i have to do to link this library correctly in my project ? Use a different library file. If the .LIB in question is just an import lib for a DLL, then run the DLL itself through BCB's IMPLIB command-line utility to generate a new import lib that is compatible with BCB. If, on the other hand, the .LIB is actually a static library, then you won't be able to use it at all, unless you wrap it inside a DLL first. Gambit
Technical Details
Message-ID:
<3f99d3d8@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f99ccba@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,d2b1c5f593dc1bbe X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-24 18:39:09 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f99ccba@newsgroups.borland.com> Subject: Re: VisualC++ Library and C++ Builder Date: Fri, 24 Oct 2003 18:40:06 -0700 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.137.75 Message-ID: <3f99d3d8@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1067045848 67.22.137.75 (24 Oct 2003 18:37:28 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail