Delphi 6 application runs slowly on Windows 7

I have an application developed in Delphi 6, it works fine in Windows XP. Most controls are customizable to display gradients. I recently deployed the application to Windows 7, after which all the windows are displayed very slowly. I compared them with the XP system.

Do I need to handle anything extra to work on Windows 7? With a lot of pain, I compiled the same application in Delphi XE, but still the behavior of the application is the same. The windows all opened very slowly.

I enabled runtime themes, disabled custom drawing, but that didn’t affect.

Please, help.

+6
source share
2 answers

You should try using profiler with XP and with Seven, and you will see where the code slows down.

+3
source

Significant changes have occurred in GDI with the introduction of Vista: http://msdn.microsoft.com/en-us/library/windows/desktop/ff729480(v=vs.85).aspx .

+1
source

Source: https://habr.com/ru/post/904519/


All Articles