David

Just a little investigating has shown me that my previous mail is to be 
ignored.  I originally thought that I might be able to use visual components in 
a service app by having the main unit reference another unit (containing 
visuals) in its uses clause - the briefest of looks at Delphi Help shows this 
cannot be done!  I suppose I could run a service that opened the main app when 
required, but I'm not sure if there would be any advantage in doing that.  
And..... now that the Logoff/Shutdown problem has been dealt with, are there 
any disadvantages to runnng a small exe in the system tray from statup on a pc?

Regards

Steve

Original Message-----
From: Wilson, Stephen 
Sent: 29 October 2008 08:44
To: '[email protected]'
Subject: RE: [delphi-en] Can't log off when UDP app is running


I must admit that I haven't investigated the option properly myself, but when I 
mentioned the possibility to another developer who has created sevice apps in 
the past his reply was that he thought my app was 'a little too complex' to be 
run as a service.  To your knowledge, are there issues of complexity related to 
service apps?  Thanks again for your help.

Regards

Steve

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Behalf Of David Smith
Sent: 28 October 2008 23:10
To: [email protected]
Subject: RE: [delphi-en] Can't log off when UDP app is running


A service basically requires it to be run in a thread, so you could also just 
run it in a thread.


***************************************************************************
This e-mail and any files transmitted with it are confidential. If you are not 
the intended recipient, any reading, printing, storage, disclosure, copying or 
any other action taken in respect of this e-mail is prohibited and may be 
unlawful. If you are not the intended recipient, please notify the sender 
immediately by using the reply function and then permanently delete what you 
have received.
Content of emails received by this Trust will be subject to disclosure under 
the Freedom of Information Act 2000, subject to the specified exemptions, 
including the Data Protection Act 1998 and Caldicott Guardian principles.
This footnote also confirms that, unless otherwise stated, this email message 
has been swept by Sophos Anti-virus for the presence of computer viruses.
***************************************************************************

Reply via email to