View Single Post
  #1 (permalink)  
Old August 11th, 2006, 01:35 AM
asidre asidre is offline
Registered User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to asidre
Default Blocking a process before it runs

I want to make a program that detect another instance of a program that is already running, already.

Probably using Win API is the smartest idea however i would like to create this program using either batch command or windows scripting.

The process i want to control is a java application that starts up using a batch file.

While the process is running if the same instance of this program is started then i want to block this before it actually gets "hooked".
Otherwise making the program okay to start.

Any ideas where i can start?

Reply With Quote