I am wondering exactly how the Main() method works in a Windows service, as it relates to the service control manager. When is it running? How does it connect to the OS? Does this happen when the service is installed? I know that it runs when OnStart () is called by SCM, OnStop () it is already running, so we wonβt run it again.
If someone knows a lot about this area and can develop, I would appreciate it.
I am an experienced programmer, I do not need a description of what the Basic Method does in general ... how it works in conjunction with Windows services.
Chris Kooken Dec 03 '10 at 10:08
source share