Hello:
Recently I upgraded one of my office computers from XP to Win7.
Generally, I use a Vista system to develop on, while the new Win7 system
is used in my acupuncture office. Anyway, I have created a large program
used by the alternative medicine community which about 50-60 people use.
It is a fairly intensive Database (DB) program. I use IBO with FireBird.
The program itself is developed in Delphi 2007.
So, when I am running a intensive DB series of database update routines,
what I'm seeing in Win7 is that as the Win Task Manager (TM) increases
the CPU to about 50%, suddenly the update dialog form is not updating at
all, i.e. text labels, progress bars, etc. This makes the application
appear to be non-responding, and in fact the TM says so. But, after a
particular DB update process is complete and preparing for the next
process, the screen catches up and it appears normal again. And yet as
the many processes are run, if the TM CPU usage gets up about 40+%,
again the form update freezes again. It's like Win7 is "choosing" to not
process a lot of screen update code. In my code I do use UPDATE
frequently or even Application.Processmessages; these do not help.
For a number of attempts at upgrading the DB (I kept restoring and
starting again.), I could see the CPU% usage suddenly drop to 0% and at
that point when the usage goes to 0%, the application was truly
non-responsive and I had to close the application via the TM. It is like
Win7 just drops the main thread of the application?!
It seemed to happen at various times, with no error message. On my other
Vista computers, this did not happen.
I upgraded my FireBird database from 2.1.3 to 2.5.0 and now it seems (on
2 attempts) to be able to complete the entire DB update process (takes
about 45 minutes) without needing to use the TM to close the app (which
was happening every time and at different points in the DB update series
of processes before the FB database update) and without Win7 "dropping
the main thread", but the screen updates still freeze.
Does anyone have an idea what is going on here? Am I missing some
fundamental programming issue about creating a program for Win7?
Thank you,
Chuck Belanger
_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi