Jump to content
DelphiUdIT

Delphi 12.2 Patch 1

Recommended Posts

Had to reinstall TMS VCL UI Pack, but EurekaLog appears to be ok...

Share this post


Link to post

TMS usually compiles its packages during installation. If that happened after the update to 12.2, these packages are incompatible with 12.2 Patch 1. In case these packages were installed (and compiled) with 12.1 or 12.0 they should work with 12.2 Patch 1, too.

Share this post


Link to post
9 hours ago, Remy Lebeau said:

According to the release announcement, you shouldn't have to reinstall any installed components, only GetIt packages.

The installer overwrites the Environmental Path because it wants to dump everything into the OS Path with each install.

 

Or at least that is the only thing I had to change fix for the last three updates.

Share this post


Link to post

It would be good if GetIt kept a 'previously installed' list when it uninstalls stuff, which is not cleared during a new install, and that list had a re-install button.

 

It would also be good if GetIt properly uninstalled Parnassus and FmxLinux so the new install does not just fail with a load of DLL errors. 

 

Angus

 

  • Like 1
  • Thanks 1

Share this post


Link to post

You have to enable the checkbox at the Installer. You wil find the checkbox at bottom right (may you have to scroll down)

Share this post


Link to post
1 hour ago, A.M. Hoornweg said:

Am I right that the the internal source code formatter is no longer there? 

Yeah, that part is no longer maintained and deprecated. There are at this time no formatters out there that can deal with every language feature 12.2 has to offer (multiline string literals - just to name one of them).

Share this post


Link to post
24 minutes ago, Sherlock said:

Yeah, that part is no longer maintained and deprecated. There are at this time no formatters out there that can deal with every language feature 12.2 has to offer (multiline string literals - just to name one of them).

Multiline string literals are actually supported by the GExperts code formatter.

 

https://blog.dummzeuch.de/2023/11/26/gexperts-code-formatter-now-supports-multi-line-string-literals-but/

https://blog.dummzeuch.de/2023/12/04/that-was-easier-than-i-thought-yeah-right/

 

But there are some Generics constructs that it can't handle.

Edited by dummzeuch
  • Like 2

Share this post


Link to post

After installing new version I get lots of errors like this:


 

Quote

 

No se encuentra el punto de entrada del procedimiento @Idetheme@Utils@TIDEDialogRegistryServices@$bcctr$qqrv en la biblioteca de vínculos dinámicos C:\Users\Public\Documents\Embarcadero\Studio\23.0\Bpl\dclIconFontsImageList290.bpl.


 

That file has date 23/9/2024. Is that the new version or the old one that wasn't uninstalled? Should I repeat the whole process again?

Thanks.

Share this post


Link to post
39 minutes ago, jesu said:

After installing new version I get lots of errors like this:


 

That file has date 23/9/2024. Is that the new version or the old one that wasn't uninstalled? Should I repeat the whole process again?

Thanks.

That's the bpl incompatibility problem of Delphi 12.2 that the patch 1 was meant to solve. Unfortunately you now get an error if you have any 3rd party bpls or experts that were compiled with Delphi 12.2. Older ones (compiled with Delphi 12.0 or 12.1) do not have that problem.

Solution:

  1. If you have the source code, recompile those packages / experts.
  2. If you don't have the source code, contact the person/company that supplied those binaries for an update

Share this post


Link to post

This happens in the first execution of bds after installation, so that problem shouldn't exist if Getit had uninstalled them rightly. I uninstalled Navigator by hand because I had read that was the only one that gave trouble. It seems I was wrong.

Share this post


Link to post

I think I will skip 12.2 Patch 1 because RSS-1840 was the only issue resolved with significant impact for me but there is a good enough workaround for 12.2 already, so reinstalling everything (that I have compiled with 12.2) is not worth the hassle right now. Waiting for 12.3 instead.

Share this post


Link to post

This release is a real disaster!
If I open and close the IDE I get an access violation.
I had to work very hard to be able to compile my projects which worked very well with Delphi 12.1, Delphi 11.x, Delphi 10.x.
Now I can't debug because it keeps getting errors... TOTAL DISASTER!

Share this post


Link to post
1 hour ago, gioma said:

This release is a real disaster!
If I open and close the IDE I get an access violation.
I had to work very hard to be able to compile my projects which worked very well with Delphi 12.1, Delphi 11.x, Delphi 10.x.
Now I can't debug because it keeps getting errors... TOTAL DISASTER!

I have been using it for about a week now and don't see any such problems. So either I have got a very special installation or you have one.

 

edit: There are quite a few minor glitches though, but it's getting better.

Edited by dummzeuch
  • Like 3

Share this post


Link to post
25 minutes ago, gioma said:

This release is a real disaster!
If I open and close the IDE I get an access violation.
I had to work very hard to be able to compile my projects which worked very well with Delphi 12.1, Delphi 11.x, Delphi 10.x.
Now I can't debug because it keeps getting errors... TOTAL DISASTER!

I had the same experience in the beginning. After encountering the initial issues, I decided to reinstall all third-party components (TMS, DevExpress, etc.), and now everything is running smoothly without any problems. You might want to try reinstalling those components as it could resolve the access violations and debugging issues you're facing.

  • Like 2

Share this post


Link to post

We use Delphi in our work environment to develop our products. I have been using Delphi since 2006, and honestly, I have never been so challenged as with these latest releases. I couldn't use version 12.2 until the first patch was released because it was impossible to install a component due to a Delphi error. However, now I can't debug my application because the IDE crashes. If I close the IDE, it shows an access violation. With Delphi 12.1, every day – and I emphasize every day – I have to restart it 2 or 3 times due to continuous crashes!

I’m really thinking about migrating our projects to another programming language because working this way every damn day is really difficult! Little by little, we will migrate and say goodbye to Delphi for good because it makes no sense to spend thousands of euros a year for a tool that hinders your development.

Share this post


Link to post
6 minutes ago, microtronx said:

I had the same experience in the beginning. After encountering the initial issues, I decided to reinstall all third-party components (TMS, DevExpress, etc.), and now everything is running smoothly without any problems. You might want to try reinstalling those components as it could resolve the access violations and debugging issues you're facing.

Are you kidding? it's the first thing I do every time I update delphi.
I have been working with Delphi for almost 20 years.
PS
Anyway, thanks for the suggestion and sorry if I came off a little abrupt.

Share this post


Link to post

This is caused by Embarcadero's policy.
Instead of releasing patches for the IDE they release new versions. This means that every time you have to reinstall everything!

Share this post


Link to post
43 minutes ago, gioma said:

my projects which worked very well with Delphi 12.1, Delphi 11.x, Delphi 10.x.

You installed 12.2 Patch 1 that is binary compatible with 12.1 but not with 12.2.

If you installed some components compiled for 12.2 then it is understandable that your 12.2 Patch 1 IDE is unstable.

Can this be the case or you are sure all your third-party components are compatible with 12.2 Patch 1 and 12.1?

Share this post


Link to post
4 hours ago, dummzeuch said:

I have been using it for about a week now and don't see any such problems. So either I have got a very special installation or you have one.

 

edit: There are quite a few minor glitches though, but it's getting better.

I hereby take that back: 12.2 Patch1 is not a total catastrophe, but I no longer classify the glitches I am experiencing as minor.

 

Every few times I want to run the program in the debugger, the IDE freezes with 100% CPU on one core and has to be killed and restarted. That's a major annoyance. And this is a new project which only uses components that come preinstalled with Delphi 12.2 Patch1 and which is not large at all.

 

I'll stick with Delphi 2007 and 10.x for other projects for now.

Share this post


Link to post
1 hour ago, dummzeuch said:

I hereby take that back: 12.2 Patch1 is not a total catastrophe, but I no longer classify the glitches I am experiencing as minor.

 

Every few times I want to run the program in the debugger, the IDE freezes with 100% CPU on one core and has to be killed and restarted. That's a major annoyance. And this is a new project which only uses components that come preinstalled with Delphi 12.2 Patch1 and which is not large at all.

 

I'll stick with Delphi 2007 and 10.x for other projects for now.

Does it happen even in clean Delphi installation? With my applications, there is no IDE freezing.

Share this post


Link to post
5 hours ago, gioma said:

We use Delphi in our work environment to develop our products. I have been using Delphi since 2006, and honestly, I have never been so challenged as with these latest releases. I couldn't use version 12.2 until the first patch was released because it was impossible to install a component due to a Delphi error. However, now I can't debug my application because the IDE crashes. If I close the IDE, it shows an access violation. With Delphi 12.1, every day – and I emphasize every day – I have to restart it 2 or 3 times due to continuous crashes!

I’m really thinking about migrating our projects to another programming language because working this way every damn day is really difficult! Little by little, we will migrate and say goodbye to Delphi for good because it makes no sense to spend thousands of euros a year for a tool that hinders your development.

How about removing all of your third-party components from the IDE, and adding each one back until you determine which one is the problem?

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×