General information
Category:
Coding, syntax & commands
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".
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only