Problem version executable
Original Reporter info from Mantis: elidorio
-
Reporter name: Edson Lidorio
Original Reporter info from Mantis: elidorio
- Reporter name: Edson Lidorio
Description:
I was using this code below:
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"
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;
Mantis conversion info:
- Mantis ID: 23897
- OS: Windows 7 32
- OS Build: Professional
- Build: 40312-fpc-2.7.1-20130214-win32
- Platform: Windows
- Version: 1.1 (SVN)
- Fixed in version: 3.0.0
- Monitored by: » ericktux (ericktux)
- Target version: 2.6.4