Article View: borland.public.cppbuilder.nativeapi
Article #15484Re: DLL dymanic x static
From: Dumboo
Date: Tue, 01 Jul 2003 05:29
Date: Tue, 01 Jul 2003 05:29
22 lines
1762 bytes
1762 bytes
As far as i know you cannot link a *.DLL file statically cause it is Dynamic LL, to use the same functions present in DLL Statically, you have to include the *.LIB file of the DLL you created in your project manager(when building a DLL Linker automatically created a *.DLL and *.LIB file ) and also #include the *.h file of the require Library eg: if you want to include abc.lib, include abc.h in your require file and you should be able to use all the function from the dll. -Dumboo "Beto" <pasini@netbank.com.br> wrote in message news:3effb54a$1@newsgroups.borland.com... > I'vw written a dynamic library that exports some functions and is working > well. But I'd like to know if I can link the same dll staticaly without any > modification. > Thanks in advance. > Beto > > >
Technical Details
Message-ID:
<3f011604@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3effb54a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,1bdc0a006119cb59 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-06-30 22:12:33 PST From: "Dumboo" <dumboo@nowhere.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3effb54a$1@newsgroups.borland.com> Subject: Re: DLL dymanic x static Date: Tue, 1 Jul 2003 10:59:05 +0530 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 203.94.212.75 Message-ID: <3f011604@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1057035780 203.94.212.75 (30 Jun 2003 22:03:00 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail