Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Still Running?
Message
 
To
31/05/2011 16:53:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01512389
Message ID:
01512395
Views:
79
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform