Archive: How to detect whether an application is running


How to detect whether an application is running
I was trying to find ways to detect whether an application (eg outlook.exe) is running. if it is then the installer will prompt message then qill quit..

But look thru everything dun have any ideas on how to continue..


Use FindWindow or if it's your own application, use a mutex (see FAQ).


I try to use FindWindow but I do not know what should i find for.. for example Internet Explorer we can use IEFrame.. how about if I am searching for Outlook ?? mind to advice on that..


I have found the way .. thanks for the advice though..


Why don't you share it with everyone- or better yet, add it to the archive?