Using IPC between windows service and win32 c ++ application

I wrote a Windows service and I want to associate it with a win32 (Desktop) application, can anyone tell me what exactly I have to do to create this message. In my case, my Service is the server, and the other process is the client. The process should establish a connection to the service whenever the user starts it on his machine.

+3
source share
1 answer

I have written services that support named pipes as you describe. I do not need to do anything special to set permissions to open and read / write a named pipe by the client. I found the following Microsoft articles useful in developing my code:

" ": http://msdn2.microsoft.com/en-us/library/bb540476(VS.85).aspx " ": http://msdn.microsoft.com/en-us/library/aa365601(VS.85).aspx

+3

All Articles