From: Guido Franzke on 22 May 2007 05:47 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 22 May 2007 08:15 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 22 May 2007 09:52 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 > >
|
Pages: 1 Prev: CMap causes program to crash on exit Next: Custom CEdit Text Control |