if have a Macro template:
//%VERMAJOR%.%VERMINOR%.%VERRELEASE%.%VERBUILD% -%DATETIME% :AVW|
when I use it i always get:
//1.0.0.0 - 3-7-2018 8:13:43 :AVW
-> (%VERMAJOR%.%VERMINOR%.%VERRELEASE%.%VERBUILD%) doesn't give the real version info
I use Gexperts in Embarcadero® RAD Studio 10.2
Steps:
Configuration:
OS: Windows 7 6.1 (Build 7601: Service Pack 1)
GExperts: GExpertsRS102.dll 1.3.8.50 from 1-4-2017 15:28:22
IDE: ideRS102
(submitted via GExperts bug report by anton van Wooning)
I can reproduce it in Delphi 10.2.3. It works fine in Delphi 2007. I have not tested other versions.
Apparently the ToolsAPI call using IOTAProjectOptions.Values['MajorVersion'] (and 'MinorVersion', 'Release' and 'Build') don't work any more as they used to. It probably has something to do with the support for multiple platforms and configurations, but I could not yet figure out how to get the data.