You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The existing solution for #35 (service.mode setting) requires passing command-line arguments to disambiguate between running as an application and as a service. This is inconvenient and unnecessary. What we should do instead is to call StartServiceCtrlDispatcher first - and then, if it returns ERROR_FAILED_SERVICE_CONTROLLER_CONNECT, run as a simple application.
The text was updated successfully, but these errors were encountered:
The existing solution for #35 (
service.mode
setting) requires passing command-line arguments to disambiguate between running as an application and as a service. This is inconvenient and unnecessary. What we should do instead is to callStartServiceCtrlDispatcher
first - and then, if it returnsERROR_FAILED_SERVICE_CONTROLLER_CONNECT
, run as a simple application.The text was updated successfully, but these errors were encountered: