🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to use LoadPackage in BCB ?

#15443
From: Clayton Arends
Date: Fri, 27 Jun 2003 19:15
20 lines
2182 bytes
"Miem Chan" <miemchan@yahoo.com> wrote in message
news:3efb1fd9@newsgroups.borland.com...

> I read some of the recent postings in the group and searched the Google
> (without any luck) to find an example BCB code showing how to use dynamic
> package loading.

I found them in the past but must admit that I am finding those examples
rather scarce.  It looks like most of the working examples can be found in
Delphi but not C++Builder.

> Can some BCB guru donate a simple example code showing how to create a
> package to export a form and how to make a main application to load the
> exported form from the package dynamically?

I will reply to this message with two examples that I can think of (and
use).  I'm sure there are some more tricky examples out there but this
should hopefully be enough to get someone started.

- Clayton
Technical Details
Message-ID: <3efc97c1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!wn14feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3ef2a233@newsgroups.borland.com> <3ef2aa44$1@newsgroups.borland.com> <3ef5c77e@newsgroups.borland.com> <3ef7a17a$1@newsgroups.borland.com> <3efb1fd9@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2a0bcef6d2779e50
X-Google-Attributes: gid10cc67,public
X-Google-Thread: 102541,2a0bcef6d2779e50
X-Google-Attributes: gid102541,public
X-Google-ArrivalTime: 2003-06-27 12:39:32 PST
From: "Clayton Arends" <nospam_claytonarends@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.cppbuilder.students
References: <3ef2a233@newsgroups.borland.com> <3ef2aa44$1@newsgroups.borland.com> <3ef5c77e@newsgroups.borland.com> <3ef7a17a$1@newsgroups.borland.com> <3efb1fd9@newsgroups.borland.com>
Subject: Re: How to use LoadPackage in BCB ?
Date: Fri, 27 Jun 2003 12:15:43 -0700
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 24.30.135.218
Message-ID: <3efc97c1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056741313 24.30.135.218 (27 Jun 2003 12:15:13 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!wn14feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail