Hi, Neil,

You are right. I do load the package explicitly. Only thing I find hard to
control is that closing the form or making the form invisible does take
affect until unload the package, which I don't want sometimes. Maybe it is
the only way or best way of each form as a package.

The another question I have to ask is how do I pass parameters into the
package, unlike calling a function in a DLL, we can pass so many number and
types of parameter we want with the function call into DLL.

Jim
-----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of Neil Anderson
Sent:   Thursday, September 30, 1999 7:33
To:     Multiple recipients of list delphi
Subject:        RE: [DUG]: Forms from DLLs again

You need to load the package explicitly, ie take it out of the project and
use the LoadPackage and UnLoadPackage methods. my app has each form as a
package, I can then control which forms to load/unload etc

> -----Original Message-----
> From: Jim Zheng [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, September 29, 1999 12:37 PM
> To:   Multiple recipients of list delphi
> Subject:      [DUG]: Forms from DLLs again
>
> Hi, all,
>
> Some time ago we have discussion of using packages instead of DLLs when
> VCL
> is involved. I replaced all my DLLs into a single runtime package and
> everything works fine.
> With some reason I want to kill a package form from the host program
> without
> unloading the whole package as the package including many other forms, but
> I
> couldn't. Every time I want to kill a form, I have to unload the whole
> package.
> Anyone has any idea how can we do that?
>
> Jim
>
>
> --------------------------------------------------------------------------
> -
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to