Article View: borland.public.cppbuilder.nativeapi
Article #15478Re: DLL dymanic x static
From: Beto
Date: Mon, 30 Jun 2003 18:24
Date: Mon, 30 Jun 2003 18:24
27 lines
2113 bytes
2113 bytes
I have a DLL that is loaded with LoadLibrary etc... and is working well. But now, I'd like to know if there is a way to link the same DLL library statically in the rest of the program, as if it was a .h library. Can I include a DLL in my project and compile with the other files, without having to deliver the DLL to my clients ? Thanks. "robertbienert<AT>gmx.net gmx.net >" <"robertbienert<AT> wrote in message news:3f006705@newsgroups.borland.com... > Beto wrote: > > 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. > > What do you want to say? Do you access the DLL's functions using > LoadLibrary(), GetProcAddress() or do you have a import header and a > import library (*.lib file)? What do you want to say with staticly, > Using the DLL's code directly in your executable? > > Yours, > -- > Robert Bienert <robertbienert@gmx.net> > Check also my free software at http://www.rbprogs.de.vu/ >
Technical Details
Message-ID:
<3f0080bf@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!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> <3f006705@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 12:07:37 PST Reply-To: "Beto" <pasini@netbank.com.br> From: "Beto" <pasini@netbank.com.br> Newsgroups: borland.public.cppbuilder.nativeapi References: <3effb54a$1@newsgroups.borland.com> <3f006705@newsgroups.borland.com> Subject: Re: DLL dymanic x static Date: Mon, 30 Jun 2003 15:24:41 -0300 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 200.181.174.119 Message-ID: <3f0080bf@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1056997567 200.181.174.119 (30 Jun 2003 11:26:07 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!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