Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Interprocess interacting

Interprocess interacting

Scheduled Pinned Locked Moved C / C++ / MFC
sysadminhelpquestion
9 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    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:

    RaviBeeR M L 3 Replies Last reply
    0
    • L Lost User

      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:

      RaviBeeR Offline
      RaviBeeR Offline
      RaviBee
      wrote on last edited by
      #2

      See http://www.codeproject.com/system/#Services. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

      M 1 Reply Last reply
      0
      • RaviBeeR RaviBee

        See http://www.codeproject.com/system/#Services. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

        M Offline
        M Offline
        Morozov Alexey
        wrote on last edited by
        #3

        ?:confused:

        N 1 Reply Last reply
        0
        • M Morozov Alexey

          ?:confused:

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #4

          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

          M 1 Reply Last reply
          0
          • N Nish Nishant

            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

            M Offline
            M Offline
            Morozov Alexey
            wrote on last edited by
            #5

            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 ;)

            N R 2 Replies Last reply
            0
            • M Morozov Alexey

              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 ;)

              N Offline
              N Offline
              Nish Nishant
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              • L Lost User

                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:

                M Offline
                M Offline
                Michael P Butler
                wrote on last edited by
                #7

                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 :-)

                1 Reply Last reply
                0
                • L Lost User

                  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:

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  haha jlk

                  1 Reply Last reply
                  0
                  • M Morozov Alexey

                    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 ;)

                    R Offline
                    R Offline
                    Richard Ellis
                    wrote on last edited by
                    #9

                    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 :)

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups