On 03/25/2014 04:25 PM, Freddie wrote:
Depending what your thread does. Does it require some user input, access to
some resource.
Yes it starts a server when started from the parameters given when I created
the service.
From cmd I can send it commands to check that it is running, the command that
causes it to hang though will create a new thread then execute a series of
bat files until told to stop.
Well if it requires any user interaction that won't work and can cause
hang (waiting on user input) because services since Windows Vista run
in Session 0, and prevent direct user interaction. The only way you can
communicate to a service is by using some IPC mechanism.
Regards
--
^TM
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]