🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Dynamic package loading

#3102
From: Remy Lebeau (TeamB)
Date: Wed, 04 Oct 2006 22:58
14 lines
1338 bytes
"Pere Mateu" <pmateu@siam.es> wrote in message
news:45242db4@newsgroups.borland.com...

> I register the class in the package (in the DllEntryPoint)

Incidently, you should not be calling RegisterClass() from DllEntryPoint()
directly.  Each of your that wants to register classes should be exporting
its own Register() function instead.  The VCL automatically calls the
Register() functions when loading the package.  Call RegisterClass() from
inside of Register().


Gambit
Technical Details
Message-ID: <45243d18@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news2.volia.net!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45242db4@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cc7dce882f3cfdcc
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <45242db4@newsgroups.borland.com>
Subject: Re: Dynamic package loading
Date: Wed, 4 Oct 2006 15:58:33 -0700
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 69.169.4.232
Message-ID: <45243d18@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1160002840 69.169.4.232 (4 Oct 2006 16:00:40 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!news2.volia.net!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail