CubicDesign wrote:
> 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.

No it doesn't. Put PersonalUnit in its own package, and then anything 
that needs that unit can simply require that unit's package. It doesn't 
need to have all the other components.

> Things are even worse: if one component uses a 3rd party VCL then that 
> VCL will also be added to the package.

Once again, the "requires" list is what you need. When a package 
requires another, it no longer needs to contain any of the units that 
are already in the required package.

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

Reply via email to