Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Doevents force impacting performance
Versions des environnements
Hi all,
I have a difficulty with an application heavy-duty cpu-intensive process (pdf building partly delegated to COM-based stuff) that works fine on both XP and Vista (dev and production machines).
On our demo win7 machine, the process starts up fine. But once the initial run-up is made, the "windows 7" dispatcher just reduces the the cpu-allocation to something below 5%. Improving priority at run time just does not help. The task is considered as something low-cpu
A process that would take 15 mn takes 2 hours ... I possibly track it down to the massive use of "DOEVENT FORCE" to keep the main forms responsive throughout the process. Locking the UI up the old way is certainly not an option!
Any way I can keep the application responsive and WIN7 alert to the resource requirements of this task? This routine is no plain stuff! WinXP does it nicely:) Why iWin7 ain't doing it so?
Any feedback welcome!
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement