Solved

Understanding NT Services

Posted on 2002-03-09
5
239 Views
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.

MattC
0
Comment
Question by:MattC
  • 3
  • 2
5 Comments
 
LVL 1

Author Comment

by:MattC
Comment Utility
oops I mean - "Professional NT Services" by Kevin Miller (Wrox Press)
0
 
LVL 32

Expert Comment

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

Expert Comment

by:jhance
Comment Utility
Sorry MattC, you beat me to the punch....
0
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
Comment Utility
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.
0
 
LVL 1

Author Comment

by:MattC
Comment Utility
Cool you're the third person to suggest it then, that book is it then :-)
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

771 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

13 Experts available now in Live!

Get 1:1 Help Now