Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, March 2008
Starting a service on windows


Message 1 in thread

Hello,

I'm using QtService 2.4 and Qt 4.3.2 to create a server to run under 
windows. I understand that somehow I need to start the server using the 
windows Service Control Manager, but I don't know how to do that. I 
tried just starting the server from a command window but it never 
detaches from the command process.

The examples and documentation included with QtService were no help either.

Can anyone provide information on how to do this?

Thanks,

Tom

--
 [ signature omitted ] 

Message 2 in thread

Put this on the qt-solutions mailing list...

However, when you construct the service, you need to set what type of
startup it is..

You can choose manual or automatic, use the method setStartupType

Scott

> -----Original Message-----
> From: Thomas Rock [mailto:thomas@xxxxxxxxxxxxx]
> Sent: Saturday, March 15, 2008 8:15 AM
> To: qt-interest@xxxxxxxxxxxxx
> Subject: Starting a service on windows
> 
> Hello,
> 
> I'm using QtService 2.4 and Qt 4.3.2 to create a server to run under
> windows. I understand that somehow I need to start the server using
the
> windows Service Control Manager, but I don't know how to do that. I
> tried just starting the server from a command window but it never
> detaches from the command process.
> 
> The examples and documentation included with QtService were no help
> either.
> 
> Can anyone provide information on how to do this?
> 
> Thanks,
> 
> Tom
> 
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/

--
 [ signature omitted ]