Solved

Understanding NT Services

Posted on 2002-03-09
5
240 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 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
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 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 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.

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

15 Experts available now in Live!

Get 1:1 Help Now