digitalmars.D.learn - Windows Service
Hi, I want to run a D program as a Windows service. After googl'in, I only found a very old project on github: https://github.com/tylerjensen/WindowsServiceInD Unfortunately, I wasn't able to compile it successfully. Does anybody know of newer approaches or even a template to start from? Thanks in advance, Thomas
Nov 14 2018
On Wednesday, 14 November 2018 at 19:38:08 UTC, Thomas wrote:Hi, I want to run a D program as a Windows service. After googl'in, I only found a very old project on github: https://github.com/tylerjensen/WindowsServiceInD Unfortunately, I wasn't able to compile it successfully. Does anybody know of newer approaches or even a template to start from? Thanks in advance, ThomasThere is https://code.dlang.org/packages/daemonize I've only played with it a little on the Linux side so I'm not sure how good the windows service implementation is.
Nov 14 2018
On Thursday, 15 November 2018 at 04:45:26 UTC, Soulsbane wrote:On Wednesday, 14 November 2018 at 19:38:08 UTC, Thomas wrote:I have just successfully compiled and started the hello-world example. It works (after fixing a small error) in Windows as well. Thanks a lot!Hi, I want to run a D program as a Windows service. After googl'in, I only found a very old project on github: https://github.com/tylerjensen/WindowsServiceInD Unfortunately, I wasn't able to compile it successfully. Does anybody know of newer approaches or even a template to start from? Thanks in advance, ThomasThere is https://code.dlang.org/packages/daemonize I've only played with it a little on the Linux side so I'm not sure how good the windows service implementation is.
Nov 14 2018