[Lazarus] Path that .exe file is running from

Michael Schnell mschnell at lumino.de
Fri Aug 2 10:16:35 CEST 2013


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.

-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130802/84b288f3/attachment-0003.html>


More information about the Lazarus mailing list