Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Several processes in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00173905
Message ID:
00173942
Vues:
46
>Is it possible to run several processes in VFP 5.0 without allowing them to "freeze" each other. For example, I made a simple modeless form with timer, showing current system time. Started 10 copies of a form. All of them were running OK. But when I tried to issue SELECT * command in background, all timers stopped until SELECT wasn't finished.
>
>Sergey Rewa

Sergy,
Timers by nature are disruptive and inconsistent. You could probably get away with one or two clocks running in an app and not notice them interupting other threads, but I wouldn't try to use 10. I would suggest for something like this, keep one clock running independent of your forms. Or, create a timer object and make it public. Then have it check for instances of this form and update those clocks as needed. That can chew up resources also but the less timers the better from my experience.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform