Interprocess interacting
-
I want to develop a client-server application. In my opinion this application would consist of WinNT service and GUI client program. Please help in which way I should manage and control WinNT service program from my GUI client program and visa versa. I need not in detail explanation but show me where I can start from? Thanks in advance:confused:
-
I want to develop a client-server application. In my opinion this application would consist of WinNT service and GUI client program. Please help in which way I should manage and control WinNT service program from my GUI client program and visa versa. I need not in detail explanation but show me where I can start from? Thanks in advance:confused:
See http://www.codeproject.com/system/#Services. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com
-
See http://www.codeproject.com/system/#Services. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com
?:confused:
-
?:confused:
Ravi posted a link which will show you similar examples. :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut
-
Ravi posted a link which will show you similar examples. :-) Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut
I see :) But I didn't find any answer to my question there. I need not WinNT with GUI interface, in contrary I need TWO processes. First one is a WinNT service and second one is a GUI program to manage first. Also this interacting should be double sided in order to service was be able to notify GUI program about its state. Sorry if I can mistake but I've really find not answer in topic being advised. Sorry again if I am silly :) At such case give me exact link please. Thanks (and sorry) in advance ;)
-
I see :) But I didn't find any answer to my question there. I need not WinNT with GUI interface, in contrary I need TWO processes. First one is a WinNT service and second one is a GUI program to manage first. Also this interacting should be double sided in order to service was be able to notify GUI program about its state. Sorry if I can mistake but I've really find not answer in topic being advised. Sorry again if I am silly :) At such case give me exact link please. Thanks (and sorry) in advance ;)
Hello Morozov Well I havent had to write such an application so far. In fact I have never ever written an NT service. :-( But I might have to, soon. I'd suggest this, perhaps it's a silly suggestion. Have an admin port. Say you keep port 20000 open and the GUI client can connect to this port and send commands to the server [runnin as an NT service]. An advantage would be, now your service can be remotely controlled. You can require authentication for connecting to this port thus making it kinda secure Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut
-
I want to develop a client-server application. In my opinion this application would consist of WinNT service and GUI client program. Please help in which way I should manage and control WinNT service program from my GUI client program and visa versa. I need not in detail explanation but show me where I can start from? Thanks in advance:confused:
If you make your service a COM server (which the ATL Wizard can generate), you can then get your client program to interact with the service via COM. I have used this method when both the client and server apps reside on the same machine. Michael :-)
-
I want to develop a client-server application. In my opinion this application would consist of WinNT service and GUI client program. Please help in which way I should manage and control WinNT service program from my GUI client program and visa versa. I need not in detail explanation but show me where I can start from? Thanks in advance:confused:
-
I see :) But I didn't find any answer to my question there. I need not WinNT with GUI interface, in contrary I need TWO processes. First one is a WinNT service and second one is a GUI program to manage first. Also this interacting should be double sided in order to service was be able to notify GUI program about its state. Sorry if I can mistake but I've really find not answer in topic being advised. Sorry again if I am silly :) At such case give me exact link please. Thanks (and sorry) in advance ;)
G'Day Morozov I used this article to get me started when I had to do the very same thing. http://www.codeproject.com/system/cntservice.asp. Ended up creating an NT service and a Dialog Application to control the service, modify parameters etc. The above article was a huge help - thanks PJ Naughter :)