windows servcie?

  • Thread starter Thread starter ll
  • Start date Start date
L

ll

Hi,

How to communicate with windows service?
For example, how to pass in parameters and get the return values like
calling a COM object?

Thanks...
 
hey man ! it's not bcause it's different !
you communicate with them like you do with any application.

there are many ways, howevere I will suggest you to look at remoting.

Also I was a bit misleading. There is a special way to communicate with
service, you could send them oneway 'byte' command through ServiceController
and the OnCommand() method of your service will be called wit this byte
value (should be >128)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top