www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Examples of Windows services in D?

reply Graham Fawcett <fawcett uwindsor.ca> writes:
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
Feb 21 2012
next sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
Noooo, it wasn't me. I keep having to tell this to people, it was
taken from http://www.dsource.org/projects/bindings/wiki/WindowsApi
but it often doesn't compile with the latest compiler version so I
keep it updated inside my project.
Feb 21 2012
prev sibling parent Graham Fawcett <fawcett uwindsor.ca> writes:
On Tue, 21 Feb 2012 17:35:34 +0100, Andrej Mitrovic wrote:

 Noooo, it wasn't me. I keep having to tell this to people, it was taken
 from http://www.dsource.org/projects/bindings/wiki/WindowsApi but it
 often doesn't compile with the latest compiler version so I keep it
 updated inside my project.

Ah, sorry to spread misinformation, Andrej. :) Graham
Feb 21 2012