[Lazarus] When adding a packages it adds to uses clause

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jul 8 09:34:43 CEST 2008


On Tue, 8 Jul 2008 09:04:53 +0200
"Graeme Geldenhuys" <graemeg.lists at gmail.com> wrote:

> 2008/7/8 Mattias Gaertner <nc-gaertnma at netcologne.de>:
>[...]
> > Then decide what initializations you needs and remove the unneeded.
> > But keep in mind, if the package changes, you have to
> > add/remove/rename units yourself.
> 
> Sorry, I lost you on the last statement. Could you explain. I use a
> package called fpgui_toolkit.lpk. I can add, remove or change units,
> and it doesn't affect the projects using that packages. I simply need
> to recompile those projects.

I meant, iff you remove the package, you have to add the needed units
yourself, to make sure that all initialization sections are called.


Mattias



More information about the Lazarus mailing list