[Lazarus] Package physical location (directory)

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jul 28 09:53:37 CEST 2016


On Wed, 27 Jul 2016 16:43:33 -0400
Dmitry Boyarintsev <skalogryz.lists at gmail.com> wrote:

> Hi,
> 
> How a package (first-time installed) could know its physical location?
> Specifically the physical location of .lpk file.
> 
> The path is needed for a package that depends on external
> configuration/template files.
> It would be nice, if the package could find the external files
> automatically, rather than asking the user to point to the package
> directory.
> 
> Having these initial configuration/template files as constants in the code
> is undesirable from maintenance point of view.

Do you mean, how can a package installed in the IDE find its lpk?

Mattias


More information about the Lazarus mailing list