I will check the links, but just to clarify, I want the service to run at boot. A wizard generated atl service project will register the service as "start on demand". Also, I want to create my singleton object as the service starts at boot, and not wait until the first client asks for an instance of my object.
Main Topics
Browse All Topics





by: DeepuAbrahamKPosted on 2009-08-10 at 19:40:43ID: 25065819
Have a look at the following link and the code: p/w-p/syst em/ntservi ces/ p/com-tech /atl/atl/a rticle.php / c3553
http://www.codeguru.com/cp
http://www.codeguru.com/cp
NT services will run in System mode, ie, before any user logs into the system it starts and it will run through out until admin user stops it.
Best Regards,
Deepu Abraham K