Solved

Service monitoring

Posted on 2008-06-25
1
184 Views
Last Modified: 2013-11-29
Hi i am working on a tool that has some predefined service-monitoring services. If i want to write my own services, how can i decide what services to add to the existing ones and how should i write to validate the tool?Some of the services already given are:Event log, HTTP Client, DNS client and so on.Please clarify as how can i write my own services using C++.
0
Comment
Question by:rishab2905
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 21875290
>>Please clarify as how can i write my own services using C++.

Take a look at http://www.codeproject.com/KB/system/serviceskeleton.aspx ("Beginner's introductory guide to writing, installing, starting, stopping NT service"), that should get you going.

As for controlling and monitoring services, see http://www.microsoft.com/msj/0298/service.aspx ("Manipulate Windows NT Services by Writing a Service Control Program")

Both articles come with full source code.
0

Featured Post

Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now