Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi 6 application running slow on windows 7

I have a application developed in Delphi 6, it works very good on Windows XP. Most of the controls are custom drawn to show gradients. Recently, I have deployed the application on Windows 7, after which all the windows are shown very slow. I have compared the same with the XP system.

Do i need to handle anything extra for running on Windows 7? With lot of pain, i have compiled the same application in Delphi XE, but still the application behavior is same. The windows were all opening very slow.

I have enabled the run time themes, disabled the custom drawing, but it did not have any impact.

Please help.

like image 539
Rahul W Avatar asked Dec 27 '11 08:12

Rahul W


1 Answers

You should try to use a profiler with XP and with Seven and so you will see where the code is slowing.

like image 89
philnext Avatar answered Oct 16 '22 06:10

philnext