Article View: borland.public.cppbuilder.nativeapi
Article #9141Re: DllEntryPoint
From: Andrue Cope [TeamB]
Date: Wed, 28 Jul 2004 07:54
Date: Wed, 28 Jul 2004 07:54
20 lines
1604 bytes
1604 bytes
Bob Gonder wrote: > With that in mind, one might create a class wrapper that does the > LoadLibrary(), GetProcAddress(), and Init() calls on create, and > Done() FreeLibrary() on destruction. Exactly that. We've been looking at this recently because we ended up with a circular DLL usage issue: DLL A->Loads DLL B->Loads DLL A And for a while considered using DLLMain/DLLEntryPoint. We have no given up on that and have bitten the bullet and create a "DLL C". Should have been done the first time but the developer didn't think it was worth the bother :) -- Andrue Cope [TeamB] [Bicester, Uk] http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<41075ba4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41066ED9.7030105@catalinasystems.com> <41067ac2$1@newsgroups.borland.com> <41069CC6.3080204@catalinasystems.com> <q6fdg0dm3o92df0lrilubkvj6qkp7jhr9h@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,542429ed898459fa X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Andrue Cope [TeamB]" <no.spam@spammy.com> Subject: Re: DllEntryPoint Newsgroups: borland.public.cppbuilder.nativeapi References: <41066ED9.7030105@catalinasystems.com> <41067ac2$1@newsgroups.borland.com> <41069CC6.3080204@catalinasystems.com> <q6fdg0dm3o92df0lrilubkvj6qkp7jhr9h@4ax.com> User-Agent: XanaNews/1.16.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 NNTP-Posting-Host: 217.207.223.34 Message-ID: <41075ba4$1@newsgroups.borland.com> Date: 28 Jul 2004 00:54:12 -0700 X-Trace: newsgroups.borland.com 1091001252 217.207.223.34 (28 Jul 2004 00:54:12 -0700) Lines: 20 X-Authenticated-User: acope Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail