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 wich is now available on the wayback machine: http://web.archive.org/web/20131229055045/http://www.muetze1.de/?page_id=547
–jeroen






Files in your Delphi settings directory; How to relocate the Favourites on your Welcome page « The Wiert Corner – irregular stream of stuff said
[…] I’ve included the table below as the data is not in the table I referenced from Found a table with Delphi Conditional defines over the Delphi versions/compiler platforms/bitness. […]
Muetze1 said
Hi jpluimers,
please import or use my table press data set or HTML export of the mentioned table. You can publish it here and take care of it, as I am shutting down my site. Please contact me (info at muetze1 dot de) so I can send you the data.
Thank you,
Muetze1
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 (:
Donovan Boddy said
http://docwiki.embarcadero.com/RADStudio/XE3/en/Compiler_Versions
Françoisf said
Yep! That one should be considered the “official” one.
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
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.
jrs said
There’s also this… http://stackoverflow.com/a/1373264/672
jpluimers said
Thanks!
–jeroen