How to connect to a service

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi all!
I have written a small little windows-service. I can start and stop this service in the service-snapin. So far all pretty nice!
But i need to controll this service. It is possible to send this service an object (such as a string) an receive object (also a string, or another object)?

The only what I have found yet is the ServiceController. With this class I can connect to service an can get some information about it. i can also shut down or start a service or can send a custom signal to it, but I couldn't sent an object to the service.

Is there a way to do this?

Thanks for replies!

Greetings
Pat
.