Creating a windows service

Tyler Jensen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Fri Aug 22 12:38:51 PDT 2014


On Saturday, 7 June 2014 at 14:34:22 UTC, Etienne Cimon wrote:
> I'd like to compile a D application through LDC as a Windows 
> service, this probably implies that the application would 
> compile as a dll?
>
> Does anyone know if there's an example or some hints on how 
> this should be done, and if it's known to be possible?

I can't help you with LDC but here's my stab at it.

https://github.com/duovia/WindowsServiceInD

I'm using the Windows API library (source actually) on
dsource.org. See link on the github page. I found it difficult to
find a complete solution to the problem, so I'm going to cross
post in a few places to make it easier to find for others seeking
an answer to the same question.


More information about the digitalmars-d-ldc mailing list