Check if application is running
-
How can I check if application X is running ? I’m writing an Update tool for my application and I need the program to wait until the application quits before continuing. I don’t think I can use FindWindow since the Title text of the application is not static. /Mathias
-
How can I check if application X is running ? I’m writing an Update tool for my application and I need the program to wait until the application quits before continuing. I don’t think I can use FindWindow since the Title text of the application is not static. /Mathias
is it ur own app? if so use Mutex I want to change Myself..Can u help me? :)
-
How can I check if application X is running ? I’m writing an Update tool for my application and I need the program to wait until the application quits before continuing. I don’t think I can use FindWindow since the Title text of the application is not static. /Mathias
Mathias S wrote: I’m writing an Update tool for my application and I need the program to wait until the application quits before continuing. Does the Update tool start application X? If so,
WaitForSingleObject()
can be used. Mathias S wrote: I don’t think I can use FindWindow since the Title text of the application is not static. Do you know the class of the window? If so,FindWindow()
can still be used. In any case, it's not a 100% reliable function in that it relies upon a static caption or class, and it can introduce a deadlock situation.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)