Announcement

Collapse
No announcement yet.

Windows Service COM Inter-Process Communication - Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Windows Service COM Inter-Process Communication - Help

    I am in the process of writing a Windows service and I need for the "client" EXE to communicate with the Windows service and send certain types of information. I'm confused on how to get the Windows service to load up and register the COM to the OS os the "client" can communicate.

    Not sure if that makes sense but I want the EXE (client running as a user process) to be able to talk with the Windows service and send data besides just service status messages.

    Anyone have any examples or sample code?

    Thanks!
    MICHAEL S. THOMASON

  • #2
    Not sure if that makes sense but I want the EXE (client running as a user process) to be able to talk with the Windows service and send data besides just service status messages
    If you are not married to the COM interface, there are all kinds of ways to effect interprocess communication. Events plus memory-mapped files, window messages (which I think may not be useful with 'services'), disk files, mailslots, pipes, stdin/stdout , TCP/UDP.....
    Michael Mattias
    Tal Systems Inc. (retired)
    Racine WI USA
    [email protected]
    http://www.talsystems.com

    Comment

    Working...
    X