Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 7 Sucks ALL my CPU resource
Message
De
04/03/2003 14:09:26
 
 
À
03/03/2003 23:39:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00760730
Message ID:
00761083
Vues:
32
I'm stating the obvious here, it's likely you're not missing this :)

Unless you yield processing to other programs, VFP can be a CPU hog.
Particularly in an SQL Select statment (where you can't do anything about it).
If your program is sitting in the background, waiting for something to happen, then don't run code. I wouldn't run in a loop checking time(), or use INKEY().

Instead use a Windows API call to Sleep for a while, to let other programs use the CPU.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform