Some work toward Issue 27 and Issue 319

This commit is contained in:
Nick Bolton 2010-05-31 21:30:29 +00:00
parent fea12827d4
commit f974d8d680
74 changed files with 4057 additions and 3756 deletions

View file

@ -142,9 +142,12 @@ CArchDaemonWindows::installDaemon(const char* name,
throw XArchDaemonInstallFailed(new XArchEvalWindows(err));
}
}
else {
// done with service (but only try to close if not null)
CloseServiceHandle(service);
}
// done with service and manager
CloseServiceHandle(service);
// done with manager
CloseServiceHandle(mgr);
// open the registry key for this service