Solved

Understanding NT Services

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 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.

809 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