Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer Events witihin DLLS
Message
From
13/07/1999 22:36:04
 
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00240533
Message ID:
00241126
Views:
17
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform