How to set up update 1 / update 2, etc. In the {$ IF CompilerVersion> xx} statement
Take a look at your registry.
I have an update in Seattle 1, the box mentions to me Delphi 10 Seattle and C ++ Builder 10 Seattle subscription update 1 * .
This is in Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS\17.0\InstalledUpdates
under the value named Main Product Update
.
You may have to do some detective work to determine the actual lines
(or the readers here can provide the lines of values they have).
You cannot use your conditional compilation, but at least you can warn the code.
Notes:
- Viewing the CodeGear DLL version information may also be an option.
- The same information is also in C:\programdata\embarcadero\bds\17.0\installedupdates.dat
andC:\users\all users\embarcadero\bds\17.0\installedupdates.dat
* Note the missing space in C ++ Builder
source to share