[Lazarus] Path that .exe file is running from
Michael Van Canneyt
michael at freepascal.org
Fri Aug 2 10:32:44 CEST 2013
On Fri, 2 Aug 2013, Michael Schnell wrote:
> On 08/01/2013 08:56 PM, Richard Mace wrote:
>
> How can I get the path of where my application is running from?
> I have tried Application.Name
>
> Application.ExeName
> but "Application" is not found?
>
>
> "Application" is only available when using appropriate "WidgetTypes". Not when doing simple command line tools.
It is if you use TCustomApplication from custapp.
Michael.
More information about the Lazarus
mailing list