Hi Everyone

I need to write a little script that will check if the application is alreasy running, if not then run it.

Well seems really easy, but when running the application it opens up a process name called "ntvdm.exe", and then 4 child PIDs under the parent PID.

Then when I clode down the application 3 of the child PIDs clode down but it leaves 1 child PID called WOWEXEC.EXE.

So what I am really asking is that I cannot use EnumProcess, to check for the PID number as it looks at the parent pid and not a child pid.

So do you think there is another other way.

Thanks