Last Embarcadero C++Builder with classic compiler - c++builder

What was the last version of C++Builder to contain the old classic compiler alongside the clang/llvm compiler?

According to the official documentation, the latest 11.0 Alexandria version includes both the classic Borland compiler and the newer clang-based compilers:
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/C%2B%2B_Compiler#Classic_Compiler
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/C%2B%2B_Compilers
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/BCC32
https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Clang-enhanced_C%2B%2B_Compilers

To be clear, C++ Builder 11.0 contains the classic Borland C++ compiler for Win32 (bcc32.exe) applications. I have been using it since September.

Related

Feasible to get WebView2 working in old Delphi versions and Lazarus?

I have taken a look at these URLs:
check if runtime installed
https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution
some sample code assuming newer Delphi
Using WebView (EdgeHTML) in Delphi / C++ Builder
some sample code assuming newer Delphi
WebView2 (TEdgeBrowser) updated Delphi interface (e.g. ICoreWebView2Controller2)
Yet even those seem to assume a newer Delphi version than I use (XE4) ... and preferably I would like Lazarus support as well. At the same time I really love being able to use "newest available patched system browser" which is why I am not jumping on https://github.com/salvadordf/CEF4Delphi albeit it may end up being the final solution.
Is there anyone else who has begun the undertaking of implementing webview2 on older versions or is this simply impractical due to type libraries not being importable etc? (i.e. major headache in converting, implementing and testing everything, furthermore on old Delphi versions)
I recently published WebView4Delphi at GitHub with an MIT license.
WebView4Delphi uses the WebView2 runtime to embed Chromium based browsers in Delphi and Lazarus applications.
It was developed in Delphi 11 but it also works with Delphi XE3.

installing DUnitX under C++ builder

How to install DUnitX under C++ builder?
I am working with Version 10.2.3. and I can't find any hints to use this testing framework in my projects.
For the specific C++Builder version addressed in the question, 10.2.x:
Installation: The C++Builder installer for 10.2 lets you select components to install during the installation. DunitX is one of the selectable components.
Usage: Embarcadero documents how to use DunitX with C++Builder 10.2 here in the overview page (archived here).
However, in 2022, the current C++Builder Release 11 (11.1, 11.2) no longer supports using DunitX with C++, so you might want to consider using another unit testing framework. See Embarcadero's note on the same documentation page for the current release (archived here):
Note: DUnitX uses Delphi language features that are not supported in C++. For C++ developers, DUnit is the best tool. C++ can also be tested using other frameworks such as Google Test, available via GetIt Package Manager.
Problem solved. I made a mistake when I installed my update.

Delphi XE8 uses which version of FastMM?

The latest FastMM version is 4.991
Delphi XE8 uses FastMM but which version is that?
The version of FastMM that ships as the built-in Delphi memory manager is a customised version that does not correspond to any version from the official FastMM code base. This customised version is cut down and has significantly reduced functionality.
Embarcadero maintains that customised version, and you can inspect it by examining the file <installdir>\source\rtl\sys\getmem.inc. To the best of my knowledge, the Embarcadero version was forked from the official project some time ago and there is a significant divergence.

TWordApplication in Delphi 2010-XE

Is there any in modern Delphi versions? (I've seen TWordApplication in Delphi 7)
Usually I use CreateComObject, but maybe there are more convenient/powerful ways, supporting Word 2007/2010?
Yes. You should enable already installed Microsoft Office <version> Sample Automation Server Wrapper Components,
where <version> is your installed Office version identifier.
TWordApplication is available in modern versions of Delphi in exactly the same was as it was in Delphi 7. In my view it is easier to use early binding with TWordApplication than the late bound CreateComObject approach.

What was the RTL version number in Delphi 2009?

I presuppose it was 21.0, can someone confirm this assumption?
Version 21 is D2010. D2009 was version 20.
A complete list of RTLversion, compiler versions and Delphi version can be found in jedi.inc from de jedi project.
See here for details: http://wiki.delphi-jedi.org/wiki/JEDI_Help:Jedi.inc
This line specifies the RTL version:
RTL200_UP Defined when compiling with Delphi or C++Builder Personalities of BDS 6.0 or higher
BDS 6.0 being Delphi 2009.

Resources