🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Dynamic package loading

#8797
From: Pang Fu
Date: Thu, 19 Jun 2003 13:22
30 lines
2528 bytes
I do not know which Borland news group would be more appropriate for this
topic. I do appologise if this group is not suitable for the topic.

You can find two good articles  on the following links explaining how to
usen Dynamic Package loading in Delphi.
Articles explain the concept very well and come with Delphi source code.
BUT!! Unfortunatelly there is no BCB version of these articles and examples.

http://www.vinorodrigues.com/insight/delphi/articles.htm
http://bdn.borland.com/article/0,1410,29119,00.html
http://bdn.borland.com/article/0,1410,27178,00.html

I've tried to convert Delhi code to BCB but I'm not successfull yet. Some of
the functions and types seems to be different in Delphi and BCB (check
HModule and LoadPackage in Delhpi7 and BCB6).

Questions :
   (1) Is there any example showing how to use Dynamic Package loading in
BCB6?
   (2) Is there any BCB (and Delphi) volontier gurus who can convert above
mentioned articles into BCB?
   (3) Can some one convert the following Delphi code into BCB (please make
sure that BCB code does not complain about invalid type conversion at run
time on LoadPackage line).
   (4) Thanks...


Pang Fu

pangfu@hotmail.com
Technical Details
Message-ID: <3ef1b8d2@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!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,805caadba3d61bfd,start
X-Google-Attributes: gid10cc67,public
X-Google-Thread: 102541,805caadba3d61bfd,start
X-Google-Attributes: gid102541,public
X-Google-Thread: 10db1e,805caadba3d61bfd,start
X-Google-Attributes: gid10db1e,public
X-Google-Thread: f8e31,805caadba3d61bfd,start
X-Google-Attributes: gidf8e31,public
X-Google-Thread: f94dd,805caadba3d61bfd,start
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2003-06-19 06:28:01 PST
From: "Pang Fu" <pangfu@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.cppbuilder.oodesign,borland.public.cppbuilder.students,borland.public.delphi.nativeapi,borland.public.delphi.students
Subject: Dynamic package loading
Date: Thu, 19 Jun 2003 23:22:38 +1000
Lines: 33
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: 210.50.176.28
Message-ID: <3ef1b8d2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056028882 210.50.176.28 (19 Jun 2003 06:21:22 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail