Fixed bugs when creating a service.
authorIain Patterson <me@iain.cx>
Wed, 1 Jan 2014 21:44:48 +0000 (21:44 +0000)
committerIain Patterson <me@iain.cx>
Wed, 1 Jan 2014 21:44:48 +0000 (21:44 +0000)
commitdb1d114d828b28fe91196d0f72e27502a052119b
treef26cc4ddc4edf151871cfed18eb594d36fa91870
parent67795adae06c0f28346818bdd974597cd77a90f1
Fixed bugs when creating a service.

A null argument to grant_logon_as_service() would cause a crash.
We were calling CreateService() with the wrong access mask.
We weren't printing any error message when CreateService() failed.
messages.mc
service.cpp