TheMetsAreBad
15th November 2003 02:52 UTC
Prompt to Kill Process if Found Open
I have the plugin that allows me to kill a process:
KillProcDLL::KillProc "process.exe"
What I want it to do is upon the installer startup, I want to recognize if process.exe is running, and if it is, prompt the user for if they want to shut it down or not. If they want to shut it down, it kills the process, if they don't want to shut it down, the installer closes.
How would I do this?
Afrow UK
15th November 2003 09:36 UTC
You need to use FindWindow
-Stu
Joost Verburg
15th November 2003 13:52 UTC
Or another detection method based on a process name or mutex.
When using FindWindow, always use a windows class. Detecting window titles is not a reliable method.
TheMetsAreBad
15th November 2003 13:54 UTC
Originally posted by Joost Verburg
Or another detection method based on a process name or mutex.
How would I do that?
Afrow UK
15th November 2003 14:40 UTC
Search this forum, and/or the archive.
-Stu