Archive: Checking for open processes or windows


Checking for open processes or windows
Hi All,

Looking for some help here.
I'm try to check if some (Microsoft HTML Help Exectuable) files are open before doing a repair or uninstall.

For the current user I'm able to utilise:

FindWindow $0 "HH Parent" "<HELP FILE TITLE>"

But, and bare with me here if there is a different user logged on the the machine at the same time with these files open I can't see them.

Now I could check to see if the process "hh.exe" is running but this doesn't tell me *what* it's running.

Any ideas?

Thanks


How about trying to write to the files themselves with FileOpen? Search the forums for FileOpen.

Stu