Information générale
Catégorie:
Codage, syntaxe et commandes
>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.
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