Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

Service monitoring

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
rishab2905
Asked:
rishab2905
1 Solution
 
jkrCommented:
>>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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now