Windows service problem
-
I have created a Service exe thro VS6.0 Wizard and i am running a batch file from Run() method, in this batch file i am running java.exe. It runs and functions correctly but if i kill java.exe thro task manager the service exe is still running. How to make service exe also to exit when java.exe is no longer running ? Any help would be appreciated... Please help me....
-
I have created a Service exe thro VS6.0 Wizard and i am running a batch file from Run() method, in this batch file i am running java.exe. It runs and functions correctly but if i kill java.exe thro task manager the service exe is still running. How to make service exe also to exit when java.exe is no longer running ? Any help would be appreciated... Please help me....
-
I have created a Service exe thro VS6.0 Wizard and i am running a batch file from Run() method, in this batch file i am running java.exe. It runs and functions correctly but if i kill java.exe thro task manager the service exe is still running. How to make service exe also to exit when java.exe is no longer running ? Any help would be appreciated... Please help me....
-
if you are run your Java app. with CreateProcess(Ex) you can use WaitForSingleObject(). other variant is in scanning processes list for looking your java app.