From: Guido Franzke on
Hello NG,

I have a server application running in the background. Now I want my
programme to start when rebooting the pc. I don't want the user to log in so
that the programme starts. I use Windows XP or Windows 2000.
I think I must programme my application as a service. Do you know how to
write a service and install it in Windows?

Thanks for help,
Guido


From: Joseph M. Newcomer on
THere are numerous good articles in the MSDN on how to write a service. You should start
there.
joe
On Tue, 22 May 2007 11:47:45 +0200, "Guido Franzke" <guidof73(a)yahoo.de> wrote:

>Hello NG,
>
>I have a server application running in the background. Now I want my
>programme to start when rebooting the pc. I don't want the user to log in so
>that the programme starts. I use Windows XP or Windows 2000.
>I think I must programme my application as a service. Do you know how to
>write a service and install it in Windows?
>
>Thanks for help,
>Guido
>
Joseph M. Newcomer [MVP]
email: newcomer(a)flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
From: Tom Serface on
If you are using MFC to do the programming PJ's class may help you get
started:

http://www.codeproject.com/system/cntservice.asp

Tom

"Guido Franzke" <guidof73(a)yahoo.de> wrote in message
news:u50XZZFnHHA.3520(a)TK2MSFTNGP04.phx.gbl...
> Hello NG,
>
> I have a server application running in the background. Now I want my
> programme to start when rebooting the pc. I don't want the user to log in
> so
> that the programme starts. I use Windows XP or Windows 2000.
> I think I must programme my application as a service. Do you know how to
> write a service and install it in Windows?
>
> Thanks for help,
> Guido
>
>