Announcement

Collapse
No announcement yet.

Windows service

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Windows service

    Hi,

    I have to make a windows service setup, I'm looking for an concreate (and full) example, where can I find one sample ?

    Thanks in advance,
    Domi.

  • #2
    As long as you executable is indeed a Windows service executable (instead of a regular application), you only need Service.Create(), for which you can find an example in the documentation. Using similar steps, doesn't it work for you?

    Ulrich

    Comment


    • #3
      Hi Ulrich,

      if it's so simple as this, it's ok therefore; I'll take a deeply look.

      Thanks for your fast answer,
      Domi.

      Comment


      • #4
        If you are updating the software with a new service executable, make sure to check for the existence of the service before updating. Stop the service, let it be updated, and then restart the server. Otherwise you may end up having to reboot.

        Comment

        Working...
        X