I wrote a window service that performs some task using the threads.Now i am writing an application which controls the window service using the window service controller.There are also some threads which i want to control from this third party application.I tried to start/stop the threads using the database but it does not seems a proper solution.I think there must be some thing that would support the controlling threads like window service controller from third application.
Any help would be greatly appreciated.
Thanks
I wrote a window service that performs some task using the threads.Now i am
Share
You can override OnCustomCommand in your service to allow communication from your service controller trough ExecuteCommand.
You will only be able to send numbers between 128 and 256, but if you wrap that in an enum it should be pretty workable. If you need to send more data you could still fetch that trough the database after you send a command.