So in VCL, one would use the following line of code to retrieve the applications path:
ExtractFilePath(Application.ExeName)
I tried the same thing Firemokey and I noticed that ExeName was no longer available. What code can I use as an alternative to this?
I'm using
and works like a charm :)
I found on http://arcana.sivv.com/blog/, you may try use this :
X.Env.ExeFilename - Returns the actual filename of the running executable.
Here some explanation from that blog :
Try using ParamStr(0) instead of Application.ExeName.