$100 bounty for help with Windows Service code

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 18 08:42:25 PDT 2014


On Monday, 18 August 2014 at 15:12:58 UTC, Etienne wrote:
> Shouldn't you be starting with rt_init() in ServiceMain?

The runtime should be already initialized before main() is run, 
however, now that you mention it, I think ServiceMain should call 
thread_attachThis(). I see there is a commented-out line in the 
code to do this already.


More information about the Digitalmars-d mailing list