Jump to content
CarGo

Delphi 2007 and XE5 Crashes on Windows 11

Recommended Posts

Hi,

I have a serious problem moving from Windows 10 to Windows 11. I have several versions of Delphi installed (2007, XE5 and Delphi 12).
My problem is that when I start Delphi 2007 or XE5, the IDE comes up and everything looks fine, but whatever I do next, the IDE crashes completely, e.g. Open File from the menu is enough to kill the IDE.
I have no idea what is happening here. The only thing that seems to work stable is Delphi 12.
Does anyone have any ideas or suggestions on what to do?

 

Kind regards,
Carsten

Share this post


Link to post

Have you tried to explicitely set the OS compatibility of the affected bds.exe to Windows 7? I don't have Win11 installed yet but it should have this option like Win10 and older Windowses in the EXE properties dialog.

Share this post


Link to post

I can use Delphi XE5 on a Windows 11 without a problem. I have never tried to install Delphi 2007 on Windows 11.

Share this post


Link to post
3 minutes ago, PeterBelow said:

Have you tried to explicitely set the OS compatibility of the affected bds.exe to Windows 7? I don't have Win11 installed yet but it should have this option like Win10 and older Windowses in the EXE properties dialog.

Thanks for the quick answer. Yes I already tried capability mode with different settings for older Windows versions including Admin rights, but without any difference

Share this post


Link to post
6 minutes ago, Lajos Juhász said:

I can use Delphi XE5 on a Windows 11 without a problem. I have never tried to install Delphi 2007 on Windows 11.

Immediately after installing Delphi I was able to add component libraries for both Delphi 2007 and XE5 without any problem and I also tested some "Hello World" apps with success, but now I have this status quo. Probably something has changed in Windows 11 that is causing the problem I am experiencing. The installation is now about 2 months ago and I mainly use Delphi 12. But now I am faced with this issue on both 2006 and XE5 and I now have no way to continue on some of my very old projects. 

Share this post


Link to post

Ok, it's getting more and more strange. As long as I use keyboard shortcuts such as CTRL-S to save, it's OK, but if I do the same from the main menu and click on "Save", the application crashes.

Share this post


Link to post

I believe this was a sign that the IDE thought it was cracked? There were posts about this. Try to open LicenseManager from XE5 and refresh the license.

Share this post


Link to post

I have Delphi 2007 installed on Windows 11, use it weekly without any real problems, although it does crash more often than modern compilers on the same PC, which also crash.

 

Angus

 

 

 

Share this post


Link to post
9 minutes ago, Lajos Juhász said:

I believe this was a sign that the IDE thought it was cracked? There were posts about this. Try to open LicenseManager from XE5 and refresh the license.

manager.thumb.png.b6147edc5382c8fa0972c1c3fdd8c294.png

 

I cannot see an option to refresh the licence here.
Strange for me is that XE5 and Delphi 2007 behave exactly the same. Any menue operation with the mouse kills the IDE. 

-

Carsten

Share this post


Link to post
8 minutes ago, CarGo said:

I cannot see an option to refresh the licence here.

Do it from Delphi 12, the License action were added after XE5.

Share this post


Link to post

manager.thumb.png.37c4dec51d6c7c60ef3c92db117b2d49.png

I successfully updated the licences, but the problem remains the same 😞

Share this post


Link to post
Posted (edited)

I have found out that when I restart the PC or logout/login again, Delphi works fine for a while, but then the error returns.

Edited by CarGo

Share this post


Link to post

Just to add my experience with Windows 11, I have an old laptop that originally came with Windows 10 and I upgraded it to Windows 11 several months back. It has the following versions of Delphi on it, all of which have multiple components and plug-ins installed and which I use to maintain various projects:

  • Delphi 7
  • Delphi XE
  • Delphi XE2
  • Delphi 10.1 Berlin
  • Delphi 10.4 Sydney
  • Delphi 11 Alexandria
  • Delphi 12 Athens

Make sure your path settings are right, all other apps and libraries are up-to-date (like Java libraries), you're not running out of memory or disk space, and all the other suggestions above.

Share this post


Link to post

I would try Process Monitor from SysInternals, filter on the bds.exe process name, and check what it's 'last words' were before dying. It may give you a clue.

Share this post


Link to post
On 8/15/2024 at 1:42 PM, CarGo said:

Hi,

I have a serious problem moving from Windows 10 to Windows 11. ...
Carsten

Did you have IDE Fixpack 2007 or any other helpful extension/add-on installed before that made problems go away? 

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

×