Re: Windows DLL / Windows service

2014-08-22 Thread Tyler Jensen via Digitalmars-d-learn
On Saturday, 7 June 2014 at 16:16:28 UTC, Etienne wrote: On Saturday, 7 June 2014 at 16:07:47 UTC, Adam D. Ruppe wrote: On Saturday, 7 June 2014 at 14:41:15 UTC, Etienne Cimon wrote: no documentation though. Any idea how to attach/detach with a known example? I'd also like to create a windows

Windows DLL / Windows service

2014-06-07 Thread Etienne Cimon via Digitalmars-d-learn
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

Re: Windows DLL / Windows service

2014-06-07 Thread Adam D. Ruppe via Digitalmars-d-learn
On Saturday, 7 June 2014 at 14:41:15 UTC, Etienne Cimon wrote: 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 . Check this out:

Re: Windows DLL / Windows service

2014-06-07 Thread Etienne via Digitalmars-d-learn
On Saturday, 7 June 2014 at 16:07:47 UTC, Adam D. Ruppe wrote: On Saturday, 7 June 2014 at 14:41:15 UTC, Etienne Cimon wrote: 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