Here is a simple service in D http://my.opera.com/run3/blog/2012/02/23/windows-services-in-d It's basically c translated to d.
On Tue, Feb 21, 2012, at 03:08 PM, Graham Fawcett wrote: > Hi folks, > > I've got a Windows service that I'd like to write in D, if possible. I > see that Andrej Mitrovic has provided a binding for the relevant parts of > the Windows API (thanks!): > > https://github.com/AndrejMitrovic/DWinProgramming/blob/master/win32/ > winsvc.d > > Has anyone used this (or another binding) to write an actual service? > Particularly, I was hoping to find a "base class" that takes care of > common tasks (installing, removing, starting, etc.). > > Thanks! > Graham >