[Lazarus] How to get projectdir in package?
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Dec 31 17:47:33 CET 2009
On Thu, 31 Dec 2009 17:12:50 +0100
Joost van der Sluis <joost at cnoc.nl> wrote:
> Hi all,
>
> I'm developing a design-time package and want to store some files in the
> default-project dir. How to do so?
> And what I actually want, is that a user can set the used path, relative
> to the current project path. Like you can place generated executables in
> 'lib'. Or even use the standard macro's. But to do so I have to use the
> TransferMacros unit (GlobalMacroList) but that's in the ide-directory
> and can't be used from within a package.
> Any ideas how to solve this?
see package IDEIntf, unit MacroIntf
Mattias
More information about the Lazarus
mailing list