Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timers and memory leaks
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01506284
Message ID:
01506287
Vues:
78
>I have found VFP timers to be unreliable when left to run in perpetuity. Instead I call my .exe from the windows scheduler every few minutes and my .exe itself shuts down after completing its checks.
>
>Also, instead of a timer you could just induce a delay between loops by calling the Windows API Sleep .

Yes, I was thinking along the same lines, but it will probably be a major re-write. One of the possibilities, though, may be in re-starting this application behind the scenes, say, at night.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform