How can i read the Version Info that is compiled in the Program?
Major, Minor, Release, Build
Thanks for a Tip.
Greetings from Switzerland
Thank you very much for the fast Answer. ;-)
When i call EXEInfo like
ProductVersion is always 22.214.171.124
FileVersion is also 126.96.36.199
If i go into Projekt Options Version Info the FileVersion is 188.8.131.52
and ProductVersion is 184.108.40.206
the ProductName is also empty....
I use Delphi XE2 with TEXEInfo 220.127.116.11
would be nice to get a solution.
With Delphi 2006 this works:
Label.Caption := ExeInfo.ProductName + ' ' + ExeInfo.FileVersion;
With Delphi XE2 not....
Are you sure you did set the file version info for the mode in which you compile the app?
Note that for each mode (release/debug/...) you need to set the version info separately.