How do i write a program that runs as a NT Service ?
Basically i want to achieve this :
I want to invoke a carry out a certain activity (liking invoking a certain application) based on time. That is, i schedule some activities for some time in future. Now, my appln. should continuosly check for time and if it is time to carry out that activity, simply do that, and continue running.
I guess, i must write a program that runs in background as a Service. But, should not be too heavy weight or hog resources.
What language has to be used...VC++ ?
How do i do this ?
Any available code ...
or info. on where i can find help on this would be helpful.