Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Still Running?
Message
 
À
31/05/2011 16:53:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01512389
Message ID:
01512395
Vues:
80
>http://www.berezniker.com/content/pages/visual-foxpro/check-if-exe-running-and-optionally-terminate-it
>
>>I know there are various ways to log that an application is still running and do checks from other programs to verify that, but what is the most efficient and easiest to use way of doing it?

Tore, I am a big fan of WMI, but I do not think it is appropriate in this case, as a program might be not working, but still the exe will be in memory. An alternative is to see how much CPU is using (also thru WMI), but I think is easier to just check a log because then you really know that is working.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform