Can you pls read and help on the Windows Servcie ?.

From: Sagar (Sagar_at_discussions.microsoft.com)
Date: 08/15/04


Date: Sun, 15 Aug 2004 02:35:01 -0700

I am learning how to write a windows service using Visual C++.
I do not know MFC. So i am ariting the normal way.
I got some samples from net how to write a console type service program that
runs every 1minute to beep on the speaker.
I wanted to create a service to do the following.
 
1. For every 10 minutes, the service should log on to the SQL server that is
running on the same computer.
2. Read from a table and do some process and write in to another table.

I read that the service programs should be console type application.
Not as a windows 32 application. Is this correct ?.
If you have some samples to achieve my aim, can you pls help me ? .
OR pls give some website where i can look for the same.
 
I appreciate any help. And Thanks


Loading