Thanks for your reply, but im not sure how to use this code?
What im trying to accomplish is this:
I have 2 applications, Application 1 will create a process(Application 2). A timer inside application 1 will then check every 3seconds if application 2 is still running, thats basicly what i want to do, it's quite simple. So Application 1 does have the ProcessID and the
Handle of Application 2, so i just want to check if application 2 is still running or not...