views:

36

answers:

1

Hi.

How can I communicate with running Windows service without stopping it using native C++? I need to pass integers and strings to service and get integers and to get back integers and strings.

Currently I do it through registry, but I would like use another, faster way.

Thank you in advance.

+3  A: 

A few options:

OJ
You can also create a COM object that is hosted in the service - but I don't have a link handy demonstrating that.
Michael