Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer Events witihin DLLS
Message
De
13/07/1999 22:36:04
 
 
À
13/07/1999 05:56:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00240533
Message ID:
00241126
Vues:
24
>>Why is a timer an element of user interface??
>
>Paul, I'm not entirely sure why, but I suspect that it's a matter of the interface to the Windows Event loop that causes the problem; the single best clear indication of this is that I've had standalone timer objects failing to trigger in a tight loop without the introduction of a DOEVENTS to the loop. Perhaps you have a better explanation for this behavioral anomaly?

I surely do have a better explanation: VFP is not multithreaded. Basically, it's impossible to have a reliable timer in a single threaded app.

When I say that timers are not user interface elements I mean that they can be used in VFP apps without any UI.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform