Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
News

RAD Studio 11.2 Alexandria Patch 1 Available

rad112patch1

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.

rad112patch1 live 2

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\Win64

change 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\Win64

change 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:

rad112patch1 about

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.

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Marco is one of the RAD Studio Product Managers, focused on Delphi. He's the best selling author of over 20 books on Delphi.

4 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES