windows servcie?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ll

    windows servcie?

    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...



  • Lloyd Dupont

    #2
    Re: windows servcie?

    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 ServiceControll er
    and the OnCommand() method of your service will be called wit this byte
    value (should be >128)

    "ll" <lionelluo@hotm ail.com> wrote in message
    news:O8rFmkPkDH A.684@TK2MSFTNG P09.phx.gbl...[color=blue]
    > 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...
    >
    >
    >[/color]


    Comment

    Working...