Windows DLL / Windows service

Etienne Cimon via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 7 07:41:24 PDT 2014


Hello,

I'm looking to compile a server into a windows service, and there 
doesn't seem to be any info out there except this : 
http://forum.dlang.org/thread/c95ngs$1t0n$1@digitaldaemon.com

It doesn't call rt_init, would that be the only thing missing from there?

Also, the d runtime seems to have a windows dll module 
https://github.com/D-Programming-Language/druntime/blob/master/src/core/sys/windows/dll.d

no documentation though. Any idea how to attach/detach with a known 
example? I'd also like to create a windows DLL that compiles through 
DMD/GDC/LDC with extern(c) so that folks from C++ can link with it .


More information about the Digitalmars-d-learn mailing list