October 17, 2024
RAD Studio 12.2 Patch #1 provides quality improvements to the 12.2 release, focused on RAD Studio IDE, FireMonkey, the bcc64x Win64 Modern toolchain, RAD Server, and the 64-bit versions of the Delphi compiler.
The patch also fixes a package binary compatibility issue that prevents using packages built in RAD Studio 12.2 in RAD Studio 12.1 and 12.0, mostly affecting third-party component vendors. While only a few source files needed changes to address this binary compatibility issue, it affects almost all DCU file signatures and runtime packages for all of our target platforms. Delivering this as a hotfix would have resulted in a large download (~ 1GB) and many files to install. Using the product installer, which is intended for this purpose, offers a much better alternative than using our simple patch tool.
For this reason, we are delivering this patch as a new inline installer, delivering a brand new internal build of the product, with build number 29.0.53982.0329 (the original 12.2 release was build number 29.0.53571.9782), as you can see below.
While we understand reinstalling version 12.2 can be seen as a considerable effort, taking this step will help ensure a smoother experience by avoiding the potential instability that can arise from an incomplete hotfix installation.
While you do need to run the new installer, all settings in your existing installation of RAD Studio 12.2 will remain, including installed components and IDE configuration, if you follow the default installation steps. You’d have to reinstall GetIt packages, though.
In addition, any customer installing the trial version or the product from now on will directly install the new build, with no need to install a patch on top of it.
Table of Contents
Installation via GetIt
You can download the inline versions of the online installer via GetIt (Tools > GetIt Package Manager). The GetIt package will download the installation file and open the readme and the download folder, but it won’t start the installation automatically.
When you run the installer for 12.2 Patch 1, the system will first perform an uninstall of the current 12.x version you have on your system. The actual installation process is similar to the update from minor versions, like from 12.1 to 12.2. For RAD Studio installation information, see https://docwiki.embarcadero.com/RADStudio/Athens/en/Installation.
Warning: We recommend that customers who used the ISO to install 12.2 use the same process for the inline release, using the steps below.
Manual Download and Installation
This inline version is also available in the download portal at my.embarcadero.com, both with the online web installer and the offline ISO installer. The actual installation process is similar to the update from minor versions, like from 12.1 to 12.2. For RAD Studio installation information, see https://docwiki.embarcadero.com/RADStudio/Athens/en/Installation.
Publicly Reported Issues Addressed by this Patch
This patch addresses the following public reports on Quality Portal:
- RSS-698 Try catch finally bug under win64x
- RSS-728 VCL Exceptions can cause a crash for C++ Win64x applications
- RSS-1750 Can’t use the Bitmap Style Designer released with 12.2 Athens (reported also as RSS-1785, RSS-1974, RSS-2033, and RSS-2035)
- RSS-1781 The IDE code editor scrollbar is broken (see also RSS-1781 and RSS-2115)
- RSS-1944 Applications compiled with 12.2 don’t work with 12.1 BPLs (also reported as RSS-1838 and RSS-1948)
- RSS-1840 TTextServiceAndroid Exception when moving caret to new line (also reported as RSS-2029)
- RSS-1945 ExtractFileDrive no longer returns the host as a drive
- RSS-1982 Missing RTTI for interfaces in C++
- RSS-2019 Focus Mode + F9 functionality issues
Additional Improvements
The patch also includes the following notable improvements:
- Improvements in the performance of the 64-bit version of DCC32, when working with generics
- IDE quality fixes, including resolving an AV when closing project with 2 edit windows, a performance problem with scrollbar annotations and a related one with folded code, sizing and drawing issues for the focus mode feature and navigational toolbar font colors
- C++ toolchain quality, including fixes for issues using –jobs with related file names, fixes for a couple of ld linker “stream” errors, fixes pertaining to RTTI, batch compilation, resource translation and a couple of compiler issues
- Quality improvements for some issues pertaining to FireMonkey OleControls and native controls
- A RAD Server fix (EBindingScopeFactoryError) when using REST or HTTP client components in a RAD Server module
- A fix addressing a conflict when installing IPWorks
Feature enhancement: This patch expands the new –jobs implementation introduced in version 12.2 to be able to be invoked directly via the compiler driver (bcc64x) on the command line, instead of only via command line MSBuild / IDE compilation.