General information
Category:
Coding, syntax & commands
>David,
>
>When will there be no wontop()? Does that happen in an app where there are no windows currently in _screen? If there's no window what's the UI that requires a DoEvents() call?
>
>>The code works fine except where there's no wontop() so you need something like
My web server app has no wontop(). It has no visual interface at all - ROFL!
It was the first thing I tried it on. Every two seconds it comes out of a state waiting for web requests and does a doevents()
Now the good news - I tested it running your code (slightly modified as you saw) and a 100 doevents() loop went from 24 secs to 0.07 secs! That's running on an NT Server with all MIIS web services running.
Not only that, but a problem we had shutting the thing down quickly and reliably now has disappeared.
Not only that, but other apps run better on the same system...
I think MSFT should "fix" doevents() ASAP
Spectacular Dave!!!
Thanks and well done.
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