[Lazarus] How to get projectdir in package?

Joost van der Sluis joost at cnoc.nl
Thu Dec 31 18:05:38 CET 2009


On Thu, 2009-12-31 at 17:47 +0100, Mattias Gaertner wrote:
> On Thu, 31 Dec 2009 17:12:50 +0100
> Joost van der Sluis <joost at cnoc.nl> wrote:
> > 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

Thanks again,

Joost





More information about the Lazarus mailing list