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. C / C++ / MFC
  3. message passing bw 2 application

message passing bw 2 application

Scheduled Pinned Locked Moved C / C++ / MFC
3 Posts 3 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.
  • A Offline
    A Offline
    aasher
    wrote on last edited by
    #1

    I want to trigger a started NT service on some event. i.e a service should activate on that event and perform its funtionality. The invoking event should be passed from another VC application. Can anybody tell me how can I do it. (I want something like as Message Passing within different applications) Please guide. Thanks in advance Aasher

    B B 2 Replies Last reply
    0
    • A aasher

      I want to trigger a started NT service on some event. i.e a service should activate on that event and perform its funtionality. The invoking event should be passed from another VC application. Can anybody tell me how can I do it. (I want something like as Message Passing within different applications) Please guide. Thanks in advance Aasher

      B Offline
      B Offline
      Brian Hart
      wrote on last edited by
      #2

      "I want to trigger a started NT service on some event. i.e a service should activate on that event and perform its funtionality. The invoking event should be passed from another VC application. Can anybody tell me how can I do it. (I want something like as Message Passing within different applications)" You might try having a look at my DCOM programming tutorial, which shows you, step-by-step, how to do this with DCOM, where the server program (which has the events and the functionality) is a Windows NT Service. The tutorial starts with Step 1, and then Back and Next links are provided to help you move through the steps. Hope this helps :)

      1 Reply Last reply
      0
      • A aasher

        I want to trigger a started NT service on some event. i.e a service should activate on that event and perform its funtionality. The invoking event should be passed from another VC application. Can anybody tell me how can I do it. (I want something like as Message Passing within different applications) Please guide. Thanks in advance Aasher

        B Offline
        B Offline
        Blake Miller
        wrote on last edited by
        #3

        If you get the book "RPC for Windows NT" and read and understand it, then you can code your own special interface into the NT service as the RPC server and into your VC app as the RPC client. I do this a lot using the Local RPC and it works great.

        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