---- Borland's Delphi Discussion List <[email protected]> wrote:
>
> Hi.
> 
> I don't like to use 3rd party components (especially for compatibility 
> reasons) so in time I created lost of components for myself.
> The problem is that I am forced to keep them in one single huge package 
> because all of them are using a unit 'PersonalUnit.pas'. As you know, 
> Delphi forces you to compile two packages together if they refer to each 
> other or if they use a common unit.
> Things are even worse: if one component uses a 3rd party VCL then that 
> VCL will also be added to the package.
> 
> I want to know if it is possible to break my huge package in smaller 
> packages but without removing 'PersonalUnit.pas', which I really need it.
> 
> Note: I don't want to redistribute my package and I don't care about 
> portability on other systems.

A couple of approaches:

1. You don't need to actually include PersonalUnit.pas in the package Unit 
list, as long as it's visible on the Package Project's search path it will 
still be available.

2. Multiple packages can depend on the same run-time package, so you could put 
PersonalUnit.pas into its own run-time package and then add that to your other 
packages.

HTH

Stephen Posey
[EMAIL PROTECTED]
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to