On Wednesday, 21 November 2018 at 09:59:19 UTC, Andre Pany wrote:
Hi,
I translated the CPP example of a windows service to D.
https://docs.microsoft.com/en-us/windows/desktop/Services/svc-cpp
[...]
Today I needed this too, and after some searching I came across
this package which works ok fo
On Friday, 23 November 2018 at 21:35:57 UTC, Andre Pany wrote:
On Friday, 23 November 2018 at 21:27:26 UTC, Kagamin wrote:
You don't need to initialize runtime because it's initialized
by standard D startup code, but you need to attach threads
that are not created by D or static constructors wo
On Friday, 23 November 2018 at 21:27:26 UTC, Kagamin wrote:
You don't need to initialize runtime because it's initialized
by standard D startup code, but you need to attach threads that
are not created by D or static constructors won't be run and
only C-level code would work there.
Thank you,
You don't need to initialize runtime because it's initialized by
standard D startup code, but you need to attach threads that are
not created by D or static constructors won't be run and only
C-level code would work there.
On Wednesday, 21 November 2018 at 15:05:31 UTC, Kagamin wrote:
Start vibe in another thread and return from ServiceMain, see
https://docs.microsoft.com/en-us/windows/desktop/Services/service-servicemain-function also ideally you should report running state only after vibe initialized, opened sock
On Wednesday, 21 November 2018 at 15:05:31 UTC, Kagamin wrote:
Start vibe in another thread and return from ServiceMain, see
https://docs.microsoft.com/en-us/windows/desktop/Services/service-servicemain-function also ideally you should report running state only after vibe initialized, opened sock
Start vibe in another thread and return from ServiceMain, see
https://docs.microsoft.com/en-us/windows/desktop/Services/service-servicemain-function also ideally you should report running state only after vibe initialized, opened sockets and started listening, before that it's not really running.
Hi,
I translated the CPP example of a windows service to D.
https://docs.microsoft.com/en-us/windows/desktop/Services/svc-cpp
I wonder how can I integrate a vibe.d http server here:
__gshared HANDLE ghSvcStopEvent = NULL;
VOID SvcInit(DWORD dwArgc, LPTSTR* lpszArgv)
{
ghSvcStopEvent = Crea