Win32 service

  • Thread starter Thread starter Marek Benes
  • Start date Start date
M

Marek Benes

Hi,
we created win 32 service in C#. The win2k server on which this service is
installed logs into eventlog message "Service <name> hung on starting" while
te machine is booting. Nonetheless the service is OK and running. In
OnStart() procedure we are just trying to read some settings from registry.
Any ideas what's going wrong ?

Thanks

Marek Benes
 
How many registry settings and how low does it take? You may consider
reading these settings from a new thread.

Nick
 
We read just about three values. It's quite strange - after constructor of
the service is finished, the method OnStart() is called almost 2 minutes
later (we've written some info into eventlog).....

M.B.
 
Back
Top