SALVATORE COPPOLA wrote:
> Hi all,
> I noticed that units packages are added in the uses list of the main
> file of a Lazarus application (the .lpr) although there is no needs. For
> instance if I put a PrinterDialog on a Form1 (unit1.pas) the
> PrintersDlgs is listed in uses list twice: in unit1 where it needs and
> in project1.lpr where there is no need. There are significant
> differences in executable size (on both stripped-packed or not)

There must be something else then. Units are only linked once even if they are
used multiple times.

> The same thing happens when further forms are removed from autocreate
> forms: their unit should be removed from the uses list of the .lpr file too.
>  
> Regards
> Salvatore

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to