Article View: borland.public.cppbuilder.nativeapi
Article #9135Re: DllEntryPoint
From: Bob Gonder
Date: Tue, 27 Jul 2004 20:43
Date: Tue, 27 Jul 2004 20:43
12 lines
1556 bytes
1556 bytes
Kathleen Beaumont wrote: >Could you please tell me a little about Init() and Done()? That is, are >these "magic names" for functions that a DLL will call if they exist? I'm not Andrue, but I'll take a crack it it. No, they wouldn't be magic. Just ordinary exported functions that the user has to remember to call (instead of the automagic DllEntryPoint). 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.
Technical Details
Message-ID:
<q6fdg0dm3o92df0lrilubkvj6qkp7jhr9h@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!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>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,542429ed898459fa X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: DllEntryPoint Date: Tue, 27 Jul 2004 13:43:16 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <q6fdg0dm3o92df0lrilubkvj6qkp7jhr9h@4ax.com> References: <41066ED9.7030105@catalinasystems.com> <41067ac2$1@newsgroups.borland.com> <41069CC6.3080204@catalinasystems.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 65.41.210.184 X-Trace: newsgroups.borland.com 1090960993 65.41.210.184 (27 Jul 2004 13:43:13 -0700) Lines: 14 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail