digitalmars.D.ldc - Creating a windows service
- Etienne Cimon (4/4) Jun 07 2014 I'd like to compile a D application through LDC as a Windows service,
- Kagamin (4/4) Jun 07 2014 No, service is a console application.
- Kagamin (2/2) Jun 07 2014 Also - opensearch plugin for msdn search, recommended:
- Tyler Jensen (8/13) Aug 22 2014 I can't help you with LDC but here's my stab at it.
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?
Jun 07 2014
No, service is a console application. http://msdn.microsoft.com/en-us/library/windows/desktop/ms685967.aspx http://stackoverflow.com/questions/18557325/how-to-create-windows-service-in-c-c http://social.msdn.microsoft.com/Search/en-US/?Query=create+service+windows+c
Jun 07 2014
Also - opensearch plugin for msdn search, recommended: https://addons.mozilla.org/en-US/firefox/addon/msdn/
Jun 07 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.
Aug 22 2014