Torsten Bonde Christiansen schrieb:
Michael Van Canneyt wrote:

Version 2.3.1 of the compiler supports all this on linux.
If the compiler supports it, how can the information be extracted at runtime?

Regards,
Torsten Bonde Christiansen.

_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

uses FileInfo;

var info:TFileVersionInfo;
begin
 info := TFileVersionInfo.Create(nil);
 info.fileName:=Application.Params[0];
 showmessage(info.VersionStrings.Text);
end;

Works for me under Windows.

Regards,
Ingo




_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to