[Lazarus] Application Information
Hew Lines
hewlines at shaw.ca
Mon Dec 23 19:24:09 CET 2013
Thanks Bart but that's not quite what I'm looking for. I'm looking for
the version number of the compiled application. It is set in the Version
Info panel of the Project Options dialogue box and auto-incremented with
every build. I know that I can do it manually but am trying to see if I
can simply read the auto-incremented value from the Version Info
maintained by Lazarus.
Hew
On 2013-12-23 9:18 AM, Bart wrote:
> On 12/23/13, Hew Lines <hewlines at shaw.ca> wrote:
>
>> Can anyone give me any ideas on how to access the data in the Project
>> Application dialogue ? Specifically the Version Number. I would like to
>> include the Version Number in both my About box as well as the Title Bar
>> of the main form but I have been unable to figure out how to access the
>> data stored in the Project Information dialogue.
> >From some project of mine.
>
> LazVersion := 'Lazarus '+ LCLVersion;
> FpcVersion := 'FPC ' + {$I %FPCVERSION%};
>
> The Lazarus revision resides in ide/revision.inc, but I'm not sur
> eit's wise to include it in your project?
>
> Bart
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
More information about the Lazarus
mailing list