![rad112patch1 | Embarcadero RAD Studio Delphi C++Builder Blogs rad112patch1](https://i0.wp.com/blogs.embarcadero.com/wp-content/uploads/2022/10/rad112patch1-3158991.png?resize=960%2C540&ssl=1)
Today Embarcadero released a patch for RAD Studio, Delphi, and C++Builder 11.2 Alexandria. This patch addresses some issues in RAD Studio 11.2, including some missing files for the new iOS Simulator platform, an issue when using runtime packages on Win64, and Win64 debugging via PAServer. The patch readme with the list of publicly reported issues addressed is below in this blog post (and in the patch readme file), which also explains the installation process.
GetIt-based installation steps for this deferred package are very similar to what already described in the blog post https://blogs.embarcadero.com/rad-studio-11-alexandria-patch-1-available/. Notice that you also have the ability to âdismissâ a patch and not be reminded about it in the Welcome Page any more, even without installing it.
In this case you download the patch ZIP file from the my.embarcadero.com portal (where it will be available shortly), youâll have to install it manually, following similar steps of the automated install. You need to manually close the RAD Studio IDE before you install the patch (youâll see an error if the IDE is running) and follow the steps in the readme.
![rad112patch1live | Embarcadero RAD Studio Delphi C++Builder Blogs rad112patch1 live 2](https://i0.wp.com/blogs.embarcadero.com/wp-content/uploads/2022/10/rad112patch1_live-9812628.png?resize=750%2C684&ssl=1)
Table of Contents
RAD Studio 11.2 Patch #1 Readme
This patch addresses some issues in RAD Studio 11.2, including some missing files for the new iOS Simulator platform, an issue when using runtime packages on Win64, and Win64 debugging via PAServer.
Installing this patch is recommended for all RAD Studio 11.2 customers. This patch is about 516MB to download.
Installation via GetIt
If you download the patch via GetIt, it is installed automatically, creating a backup of the files replaced. Youâll need to manually follow the specific steps below to correct the IDE library path configuration. You might also want to reinstall PAServer for Windows using the file deployed by this patch in the matching Catalog Repository folder, following the steps at: https://docwiki.embarcadero.com/RADStudio/en/Installing_the_Platform_Assistant_on_Windows
Manual Download and Installation
This patch is also available in the download portal at my.embarcadero.com. In this case, after downloading and expanding the ZIP file, you should run the patch.R112.patch1_install.bat file or manually expand the R112.patch1.zip into the respective subfolders of the RAD Studio installation folder. Either way youâd still need to follow the specific steps below to correct the IDE library path configuration. You might also want to reinstall PAServer for Windows found in the expanded ZIP file, as described above.
Library Path Configuration
The RAD Studio 11.2 installation has an error in the configuration of the library path. Due to this configuration problem, linking with runtime packages fails, as reported in Quality Portal as RSP-39031 (Win64 build with runtime packages can’t find Win64 DCP files).
To address the issue you can alternatively:
Install the .reg file included in the patch download. We recommend you to follow this step only if you have a fresh install with no migrated settings and no third party component installed.
Use the IDE Tools Options dialog, select Language – Delphi – Library page and there the Windows 64-bit platform. Replace $(BDSCOMMONDIR)Dcp
with $(BDSCOMMONDIR)Dcp$(Platform)
Open the Windows Registry Editor application (regedit), and make the following changes:
In the key –>
\Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS22.0\Library\Win64change the “Search Path” value to$(BDSLIB)$(Platform)release;$(BDSUSERDIR)Imports$(Platform);$(BDSUSERDIR)Imports$(Platform);$(BDS)Imports;$(BDSCOMMONDIR)Dcp$(Platform);$(BDS)include
In the key –>
\Computer\HKEY_LOCAL_MACHINE\SOFTWAREWOW6432Node\Embarcadero\BDS22.0\Library\Win64change the “Search Path” value to $(BDSLIB)$(Platform)release;$(BDSUSERDIR)Imports$(Platform);$(BDSUSERDIR)Imports$(Platform);$(BDS)Imports;$(BDSCOMMONDIR)Dcp$(Platform);$(BDS)include
Uninstallation Steps
For GetIt installation:
- Open the Catalog Repository installation folder and move to the patch folder
- Run the patch.R112.patch1_uninstall.bat file to see the backup files to (manually) restore
- Only after you have cleared the patch, uninstall the package from GetIt
For Manual installation:
- Open the folder you expanded the patch ZIP file into
- Run the patch.R112.patch1_uninstall.bat file to see the backup files to (manually) restore
- Delete the folder and patch ZIP file
Quality Portal Issues Addresses by This Patch
This is the list of Quality Portal issues addressed by this patch:
- RSP-39284 Access violation at 000000 with TCameraComponent
- RSP-39164 SQLite driver missing for iOS Simulator.
- RSP-39159 Cannot add data module to FireMonkey application if target is set to iOS Simulator ARM 64-bit
- RSP-39075 [Regression] TBalloonHint opens at mouse pos instead of specified position
- RSP-39031 Win64 build with runtime packages can’t find Win64 DCP files (this is actually solved by updating the path configuration, as explained above)
- RSP-39444 libmidas.a is absent for iOS Simulator
The patch also addresses the following internally found issues and support cases:
- Integer overflow in HelpInsight (part of DelphiLSP)
- Some missing .asm and ,nasm files in sourcecpprtlSourcedefs
- [PAServer on Windows] Installer does not extract lldb.zip, causing C++ Win64 remote debugging not to work
- Win64 debugger register view doesn’t read the correct value for RBP and RSP registers
- A translation issue affecting the C++ configuration options for the non English versions of the IDE
Final Note: The Patch is Listed in the About Box
We introduced a small new feature in RAD Studio 11.2, which is the ability to show installed patches in the About Box. Here is dialog with the patch installed:
![rad112patch1about | Embarcadero RAD Studio Delphi C++Builder Blogs rad112patch1 about](https://i0.wp.com/blogs.embarcadero.com/wp-content/uploads/2022/10/rad112patch1_about-4011052.png?resize=750%2C360&ssl=1)
October 5th Update
Some additional information about the About Box dialog screen above. First, the patch is listed only if you install it via GetIt. It is not listed in case of a manual installation. Second, the release number is different from the Release 2 version number (as displayed), but only if you own or installed only Delphi . For RAD Studio and C++Builder the version remains the same, due to a difference in the logic for reading that value.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today
   Free Delphi Community Edition   Free C++Builder Community Edition
On the search path registry modifications, if done manually, you show double backslashes. Is this correct? Or should it be single backslashes?
Ah yes it looks like a few editing gremlins sneaked in there and completely mangled the paths (I blame the posting platform, it can be a little fussy).
There should not be double slashes.
I will update the post to show the correct paths – the screenshot below shows where to find one of them in RegEdit – the other path follows the same principles:
Thanks for pointing it out Kevin.
Sorry, it still looks wrong. I suspect when you tried to change from double-slashes, to single-slashes, you ended up with NO SLASHES instead.
Also, it would be nice to add, when using Tools / Options, the change applies to the “Library Path”, and none of the other settings on that page.
Wow that turned out to be a lot harder to get the slashes right than it seemed – when I previewed the page after the changes it looked correct but when it gets cached and sent out through the web server the platform changes the slashes even if I escape them or use HTML entities. I literally tried everything. Anyway, I think I’ve finally bent it to my will at last, sorry about that!