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:
01506383
Vues:
80
>>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 .
>
>I agree. Never tried to prove it, but I think timers tend to leak memory and over time it's a killer.

Thirded. On my last project we had a timer-based process that ran all the time. It was nothing but trouble.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform