🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DLLs created by BCB5 & BCB6

#16792
From: Binzhong Zhou
Date: Thu, 24 Apr 2003 03:22
40 lines
2380 bytes
Thanks, Vladimir, for your suggestion. How can I create Microsoft lib-file
using BCB6 or via implib? The problem is that if I create the TestDll.DLL
using BCB5 then using

    implib TESTDLL.LIB TESTDLL.DLL

to create TESTDLL.LIB which can be linked by Layhey Fortran compiler. But If
I create the TESTDLL.DLL using BCB6. The TESTDLL.LIB created by implib would
not be linked by Layhey Fortran compiler any more. I suspect that BCB6 will
create different DLL compared with BCB5.

Any other suggestions?

Regards,     Binzhong

"Vladimir Afanasyev" <avv@systema.kiev.ua> wrote in message
news:3ea6498e$1@newsgroups.borland.com...
>
> Hi,
>
> "Binzhong Zhou" <Binzhong.Zhou@csiro.au> wrote:
> >Hi All,
> >
> >I used to use BCB5 to create a DLL to be statically linked by Layhey
Fortran
> >with no problem at all. However, If I create a DLL from BCB6 using the
same
> >source code, I could not generate (via implib) a *.lib  file which can be
> >linked by the Fortran. It gives me an error message:
> >
> >    Fatal error LINK.2130: Bad object file -- Improper record length in
> >"TestDll.lib".
> >
> >Is there any one who can know why is this error and how I can rectify the
> >problem? I noticed that implib has not been changed from bcb5 to bcb6.
>
> It seems that you need Microsoft lib-file but it is another
> thing than Borland lib.
>
> Vladimir.
Technical Details
Message-ID: <3ea75883$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ea62b9c@newsgroups.borland.com> <3ea6498e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a264222ad39fcf37
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-23 20:30:45 PST
From: "Binzhong Zhou" <Binzhong.Zhou@csiro.au>
Newsgroups: borland.public.cppbuilder.nativeapi
References:  <3ea62b9c@newsgroups.borland.com> <3ea6498e$1@newsgroups.borland.com>
Subject: Re: DLLs created by BCB5 & BCB6
Date: Thu, 24 Apr 2003 13:22:43 +1000
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 140.253.14.10
Message-ID: <3ea75883$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1051154563 140.253.14.10 (23 Apr 2003 20:22:43 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail