[Lazarus] Retrieve VersionInfo at runtime

Paul Ishenin ip at kmiac.ru
Fri Jan 22 08:49:08 CET 2010


22.01.2010 14:38, Graeme Geldenhuys пишет:
> Paul Ishenin wrote:
>>
>> Version info from the project version info tab is usable on all platform
>> and there is a cross-platform way to retrieve it but it requires deep
>> knowledge of windows resources.
>
> This makes no sense. :-) It's cross-platform, but requires deep knowledge
> of MS Windows? How is MS Windows knowledge cross-platform?

Yes, because resource support in fpc made in a 
'windows-like'/'delphi-like'. Nothing bad in this but work with 
resources requires knowledge of windows structures which are used to 
store different resource info into executable. And version info resource 
is not the easiest structure.

Best regards,
Paul Ishenin.





More information about the Lazarus mailing list