[Lazarus] Getting a program's "true name"

Marco van de Voort marcov at stack.nl
Mon Oct 25 13:27:40 CEST 2010


On Mon, Oct 25, 2010 at 09:55:29AM +0000, Mark Morgan Lloyd wrote:
>  > In project1.lpr add
>  >
>  > uses FileUtil;
>  >
>  >  ProjectName := ExtractFilenameOnly({$I %file%});
> 
> which looks like it will handle the project name issue perfectly.

In this case, yes. 




More information about the Lazarus mailing list