Found a table with Delphi Conditional defines over the Delphi versions/compiler platforms/bitness
Posted by jpluimers on 2013/02/20
Right now, documentation on Delphi Conditional Defines is on pages like Conditional compilation (Delphi) – RAD Studio XE2, but it is limited as it is for one specific version of Delphi only.
However, over the course of Delphi versions, compiler platforms and bitness, and not forget Free Pascal and Turbo Pascal/Borland Pascal, the matrix has become huge.
There is no complete documentation on that in one place. Right now include files like Defines.inc, the DSPack.inc, the JCL include directory the JVCL common include directory and the Jedi.inc documentation contain the collective knowledge about this.
Someone should condense that in a table and – more important – keep it up to date.
At least now there is a post collecting some of the links that contain the knowledge (:
Found one that contains these columns
- Product & Version
- VERxxx defines
- __BORLANDC__ value
- RTLVersion
- CompilerVersion
- Package Version
via Compiler/RTL version overview « Muetze1.
–jeroen







jrs said
There’s also this… http://stackoverflow.com/a/1373264/672
jpluimers said
Thanks!
–jeroen
Thomas Mueller said
See here:
http://delphi.wikia.com/wiki/Borland_Compiler_Conditional_Defines
It’s also regularly updated.
jpluimers said
Just found a better one. See the edit.
Delphi Compiler/RTL/VCL Version Overview | Olaf's Thoughts About Development said
[...] Jeroen just dug up a page that lists all Delphi Compiler/RTL/VCL version numbers in a nice tabular form: [...]
jpluimers said
Thanks!
–jeroen
Donovan Boddy said
http://docwiki.embarcadero.com/RADStudio/XE3/en/Compiler_Versions
Françoisf said
Yep! That one should be considered the “official” one.
Muetze1 said
Hi Jeroen,
thank you for the trackback and great to use it is useful for some more developers. I just fixed one small error (VER70 is the correct symbol for Turbo Pascal for Windows 1.5) in the linked table.
Feel free to contact me on errors or additions.
Thanks,
Muetze1
jpluimers said
Will do. Thanks for the great work!
You might want to add the base registry keys for HKCU and HKLM in that table too.
See here for a starter: http://stackoverflow.com/questions/4064050/stack-overflow-error-when-i-open-delphi-xe-ide/4064174#4064174
Muetze1 said
Hi,
I have these keys already for my Borland/Inprise/CodeGear/Embarcadero Build Tool to retrieve the installation paths (to get the compiler paths etc). So I just added the keys for the versions supported by the tool (Delphi 5,6,7; C++Builder 5,6; BDS/RAD 2006 – 2011 (XE)). I will look on the keys for XE2 and XE3 later on and add them. I need to install Delphi 4 or earlier to get them, so this can take some time to get these…
Greetings,
Muetze1
jpluimers said
Great! Don’t hurry (: