Thread overview |
---|
November 14, 2018 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 |
November 15, 2018 Re: Windows Service | ||||
---|---|---|---|---|
| ||||
Posted in reply to Thomas | 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, > Thomas There 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. |
November 15, 2018 Re: Windows Service | ||||
---|---|---|---|---|
| ||||
Posted in reply to Soulsbane | On Thursday, 15 November 2018 at 04:45:26 UTC, Soulsbane wrote:
> 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,
>> Thomas
>
> There 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.
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!
|
Copyright © 1999-2021 by the D Language Foundation