Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Hi Thomas,
"Have you tried to fire the "Doevent Force" only about every 0.3 seconds() via a bracketing if ? Might be enough ..."
Did not help:(
However triggering the "progressbar" refresh via a timer instead of base code did the trick. Thanks a lot.
The vfp-based exe now drags 50% percent of the CPU. In view of the current power available on workstations this definitely enough even for process-intensive processes...
PS: thanks for all the contributions on potential rewriting that would include multi-threading. This was enlightening but requires too much work at this time. And not exactly what I am looking for i-e avoiding that the active main UI thread basically "gets idle" (cpu usage grinding to a halt or near so) on win7 because of the "doevent force".
Précédent
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