Delphi XE7 Multi Device Application – Error on EXENAME [duplicate]

  

This question already has an answer here:

Delphi Get file location

2 answers

I have trouble with getting ExeName of MultiDevice Application Project.

When I try to get the exename as
Prog_Name:= ExtractFilePath(Application.ExeName)
I get error because unlike for Vcl.Forms.Application there is no ExeName property for FMX.Forms.Application.

How do I get ExeName of multidevice application?

Comments are closed.