June 13, 2000 08:17 AM

Inside Win32 Services, Part 2

Rating: (0)
Windows IT Pro
InstantDoc ID #8943
Learn how Win2K optimizes service startup and shutdown
I began this two-part series about Win32 services by presenting the structure of service applications, reviewing restrictions related to service user-account settings, and stepping through the first phases of the Service Control Manager's (SCM's) initialization. This time, I continue with a detailed description of how auto-start services initialize during the system boot. You'll also learn about the steps the SCM t...

ARTICLE TOOLS

You must be a paid Professional Member to access this entire article.

Already a Professional Member? Please log in now:

NOT A PROFESSIONAL MEMBER? YOU CHOOSE:

Monthly or Annual

Professional Membership

VIP Membership

Compare Member Benefits

Add a Comment

I have created an error signature szappname:
svchost.exe szappver:5. 1.0.0 sz mod name:

Anonymous User 4/18/2005 8:49:49 AM


You are supposed to post comments here, not ask questions.

Anonymous User 11/6/2004 9:19:18 PM


I would like to start a service S1 after S2 is started. How do I do it?

Thanks

Shiva5/4/2004 1:50:50 PM


This is very great article. One thing is missing? When a service starts as "Autmatic", what is the PATH the system used to find out all of the services' dependent DLL(s) if the service depends on those DLL(s).

Thanks

Hiep

hiep 12/24/2003 10:22:24 AM


Great article!
I have written a service that is created and started by an app. SUppose tthe service is running and I reboot the system. After reboot My service just crashes. IT is 'Auto start' sertvice. ANy ideas or comments will be greatly appreciated.

Nitin Chhabra 10/9/2003 4:30:07 AM


I am wondering if somebody has seen the following behavior:

An NT_service controls a VB executable and the executable launches through OLE automation multiple external objects using a CreateObject method. This works fine when the VB executable runs as an application but not as an NT service.

Depending on the size of the object when running as an NT Service it fails to create the second or third object.

Is there any parameter in the registry that could fix that problem ?

Stelios Papastratos 9/20/2001 7:19:30 AM


You must log on before posting a comment.

Are you a new visitor? Register Here
Free Power Tools Brochure
Get Mark Minasi's 17-page guide today!



      

Related Resources

fundamentals cd exchange and outlook
A Utility Resource by Windows IT Pro
More

advertisement

GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS

White Papers

Your remote offices contain valuable electronic data – are they adequately protected? Learn how proven technologies can reliably and cost-effectively back up a branch office from a central location, in real time, to disk or tape, and even utilize existing backup solutions.

Downloads

PacketTrap IT is a comprehensive and affordable network management and application monitoring solution that solves problems associated with bandwidth, network and application performance, and connectivity. Gain insight into your network - try PacketTrapIT free for 21 days!

Web Seminars

IT administrators have to solve a myriad of problems. This web seminar outlines the ten most common systems management pains - including managing highly distributed systems and dealing with data theft/loss – and the best practices to address each.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.