[Lazarus] How to access version info

Torsten Bonde Christiansen tc at epidata.dk
Tue Sep 29 08:11:33 CEST 2009


Paul Ishenin wrote:
> David B Copeland wrote:
>> Is there a way to access the version info and build number that Lazarus
>> can embed into the executable?
>>
>> Running: SUSE 11.1, x86_64, Lazarus SVN 21901, FPC 2.2.5.
>>   
> For you OS I think no. Currently lazarus put the version info into a 
> .rc file wich is linked into the executable only on windows. So it is 
> a windows feature only for the moment.
>
I was thinking that, why not make the version information be available 
to the pre-processor like for instance the FPCVersion is (or through 
some other mechanism)?

This will help newbies (like me) to insert the version information on a 
about form easily (which might even be done through a wizard) and 
supports all platforms.

Kind regards,
Torsten Bonde Christiansen.




More information about the Lazarus mailing list