Understanding NT Services

Posted on 2002-03-09
Medium Priority
Last Modified: 2010-04-01
I going to be attempting to create an NT/2000 service that will occcasionally poll a DB and dependant on that data do something.  Now the DB stuff I'm ok with.

However, I'm unsure as to how a service works, i.e, what is the best way of programming it.  A simple while loop , but on what condition, how do I keep it running.

any help or URL's or even books would be great.
I've had "Professional NT services" by Richard Grimes suggested to me, but I wanted a little more advice.

Question by:MattC
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Author Comment

ID: 6852688
oops I mean - "Professional NT Services" by Kevin Miller (Wrox Press)
LVL 32

Expert Comment

ID: 6852689
Get the book "Professional NT Services" by Kevin Miller, WROX Press.  It has everything you need to know to build services.
LVL 32

Expert Comment

ID: 6852691
Sorry MattC, you beat me to the punch....
LVL 32

Accepted Solution

jhance earned 200 total points
ID: 6852693
Oh wait.  This is YOUR question....

Yes, this is an EXCELLENT book and has everything you need to know to write a 1st rate service.  I've found it extremely useful.

Author Comment

ID: 6852707
Cool you're the third person to suggest it then, that book is it then :-)

Featured Post

New feature and membership benefit!

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

Question has a verified solution.

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

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

719 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