Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-02

Executable version

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Edson - Listas

I was using this code below:

procedure Tfrmmenu.FormShow(Sender: TObject);
begin
   fileversioninfo := TFileVersionInfo.Create(nil);
   fileversioninfo.fileName := Application.ExeName;
   frmmenu.Caption := 'Sistema Teste' + ' - Ver. ' +
FileVersionInfo.getVersionSetting('FileVersion');
   sysversao := 'vers?o. ' +
FileVersionInfo.getVersionSetting('FileVersion');
end;

To get the version of the executable, now with the [Lazarus-1.1-40312-fpc-2.7.1-20130214-win32] not working anymore, the error message appears below, with Lazarus 1.06 and fpc 2.6, works normal :

Error: identifier idents in member "getVersionSetting"

What can it be?

Edson

Reply by email