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

x
?
Solved

Understanding NT Services

Posted on 2002-03-09
5
Medium Priority
?
249 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
ID: 6852688
oops I mean - "Professional NT Services" by Kevin Miller (Wrox Press)
0
 
LVL 32

Expert Comment

by:jhance
ID: 6852689
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
ID: 6852691
Sorry MattC, you beat me to the punch....
0
 
LVL 32

Accepted Solution

by:
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.
0
 
LVL 1

Author Comment

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

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses

876 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