Today Embarcadero released a patch for RAD Studio, Delphi, and C++Builder 12 Athens. This patch addresses several issues in RAD Studio 12, primarily involving the IDE, the Delphi 64-bit compiler, FireMonkey, VCL, and URI processing. Installing this patch is highly recommended for all RAD Studio 12 Athens customers. The detailed list of the issues addressed is available at the end of this blog post.
This patch is about 160MB to download.
GetIt-based installation steps for this deferred package are very similar to what already described in the past (see for example https://blogs.embarcadero.com/rad-studio-11-alexandria-patch-1-available/) but they are also listed below in this blog post.
Notice that you also have the ability to dismiss the patch and not be reminded about it in the Welcome Page any more, even without installing it. Also, if you install the patch via GetIt, the About Box in the IDE will indicate the patch has been installed.
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. Also, in case of a manual installation, the about box won’t reflect the patch status.
GetIt-Based Installation Steps
This is a reminder of some of the installation steps, which are the same we used in the past for patches.
The patch availability is indicate in the Welcome page of the IDE:
As an alternative, manually search for it in the GetIt Package Manager:
Once you start the installation, it asks you to accept the patch EULA (which is the same of the product EULA) and it reminds you that you need to restart the IDE:
As the actual process starts, it opens a console. Remember you might have to accept the UAC system prompt to proceed, even if it might sit behind the console window. The entire installation process takes place outside of the IDE, in a command line console:
RAD 12 Patch #1 Readme
January 10th, 2024
This patch addresses several issues in RAD Studio 12, primarily involving the IDE, the Delphi 64-bit compiler, FireMonkey, VCL, and URI processing. Installing this patch is highly recommended for all RAD Studio 12 Athens customers. This patch is about 160MB to download.
Installation via GetIt
If you download the patch via GetIt, it is installed automatically, creating a backup of the files replaced and a log of the operations.
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.R120.patch1_install.bat file or manually expand the R120.patch1.zip into the respective subfolders of the RAD Studio installation folder.
Uninstallation Steps
If you installed the patch via GetIt:
* Open the Catalog Repository installation folder and move to the patch folder
* Run the patch.R120.patch1_uninstall.bat file
* Only *after* you have cleared the patch, uninstall the package from GetIt
If you installed the patch manually:
* Open the folder you expanded the patch ZIP file into
* Run the patch.R120.patch1_uninstall.bat file
* Delete the folder and patch ZIP file
Quality Portal Issues Addresses by This Patch (notice QP remains accessible in read-only mode)
RSP-44063 Bug in MOD operation for Win64 Release configuration
RSP-43656 [REGRESSION] Wrong codegen when passing empty open array to operator overload
RSP-43568 Issue with TURI.Query Changed adding an equal sign to the URL ends with ?WSDL
RSP-43551 When MDI form & Custom Styles are used together, the Process cannot be terminated.
RSP-43547 New VisualManager feature causes crash in TCustomForm.WndProc() with Action=caFree
RSP-43515 No event OnCameraDidFinishTaking for TTakePhotoFromCameraAction
RSP-43494 Event OnValidate fails when the DBGrid is full – AGAIN!
RSP-43463 JSON serialization error with scientific double notation
RSP-43459 TEdit.FilterChar crash app on Android
RSP-43422 NetHttpClient parsing URL parameters is incorrect
RSP-43418 Wrong Delphi code optimization for integer div/mod
RSP-43407 The Delphi compiler in RAD Studio 12 is no longer able to resolve standard types by their aliases when generates HPP files for a BPL package with components if the referenced types are declared in other units
RSP-43383 Delphi 12 Android TEdit error
RSP-43362 [iOS] TListView set search visible to True, the system will crash when clicking into the search area.
RSP-43326 Blob reading is broken for 64-bit platforms in dbExpress
RSP-43318 Incorrect ShortCut in TActionList
RSP-43311 TSQLTimeStampOffset problems with Firebird 4
RSP-43299 TFlowLayout exception when all its elements are set to invisible
RSP-43274 Arithmetic operations on record fields return incorrect results in certain cases if the “Optimization” compiler option is enabled
RSP-43235 Structure view and Search for a method box no longer populated
RSP-43007 Internal compiler error F2084
RSP-42860 FMX TListBox List Index Out OF Bounds
RSP-42692 Ctrl-j – invoke template don’t work
RSP-42682 TreeView crash
RSP-42657 TTreeview crashes when scrolling in iOS
RSP-42634 QBE component causes fatal IDE crash when removed from form
RSP-42616 FMX: Key Handling different behavior in Delphi 12
RSP-42601 TURI with encoded Params are mangled when initialized
The patch also addresses other duplicate issues and the following internally found issues:
* Unexpected application crash after trying to take a photo from the library on an Android device
* Editor “Surround” menu is missing content
* The debugger evaluation of Edit1->Text property in VCL project / windows 32-bit platform
Design. Code. Compile. Deploy.
Start Free Trial Upgrade Today
Free Delphi Community Edition Free C++Builder Community Edition
source/fmx/FMX.Platform.UI.Android.pas is missing.
Only FMX.Platform.UI.Android.dcu and FMX.Platform.UI.Android.o are provided.
I just installed the patch. I’m a C++ user – couldn’t build my projects with 12.0, when building a package; components don’t show up in the IDE. But this is another story. OK.
At least I was able to build test projects with 12.0. Now after the patch, RAD Studio can no longer link a bare C++ VCL project without anything in it for Win64 (Win32 works). For Win64 I get:
[ilink64 Error] Fatal: Unable to open file ‘;E:\RADSTUDIO12BETA\JEDI\JCL-MASTER\JCL\LIB\D29\WIN64;C:\USERS\x y\DOCUMENTS\EMBARCADERO\STUDIO\23.0\CATALOGREPOSITORY\JEDICODELIBRARYJCL-2023.11\LIB\D29\WIN64;C:\USERS\PUBLIC\DOCUMENTS\EMBARCADERO\STUDIO\23.0\DCP\WIN64\RELEASE;C:\USERS\PUBLIC\D’
The only thing I did was installing the patch!!!
PS: No idea where to post something like this – I try here.
I’ve seen a similar bug in my 64 bit projects. I resolved it by unchecking the ‘inherit’ option for the library path. I then manually added the paths Iactually needed.
I think it’s caused by the library path getting too long, but I could be wrong.
Yes, the problem was – as one might suspect – a path problem. Going to “Tools->Options->Language->C++->Paths and Definitions”. Then Platfrom Win64, and then under Library path all paths were created multiple times – not just the JEDI paths, so e.g. “$(BDSLIB)\win64\release” was several times in the list. This probably resulted in a string that was too long and caused the link command to fail.
Is there a way to distinguish between Delphi 12 and Delphi 12 Patch 1 from within Delphi source code itself?
RTLVersion = 36, and GetRTLVersion returns $2400, same for CompilerVersion.
I’m not sure Bob. I’ve asked the PMs for an answer – and I will update this comment when I have one.
The reply is that unfortunately, the same as a hotfix, there is no way to differentiate between the patch 1 and unpatched version in code.
Patch not showing up anywhere for me, is there a delay ? (yes, subscription still active until end of March according to both LicenseManager.exe and my.embarcadero.com)
It should show up right away. I am not sure why you can’t see it.
This report “RSP-43568” is mine,
I tested it and it worked correctly after updating to RAD 12 Patch #1
Thank you all!
Very concerned about what I just read on the Delphi Worlds blog.
https://en.delphipraxis.net/profile/30-dave-nottage/
Any news on this topic?
Reminds me of some big Delphi crises when for a while apps could not be updated in the app stores.
We’re actively looking into this. Please feel free to reach out to me by email with specific details.