Wilson, Stephen wrote:
> 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

What would be the point? There would be nobody available to see the 
components anyway.

> 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!

Of course it can. Reference the Buttons unit, and you can create TButton 
objects to your heart's content, for example.

> 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.

Probably not. When would it be required?

> 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?

Yes, there are disadvantages. One is that when there's no user logged 
in, there is no session for your program to be running in. Servers 
aren't supposed to need someone logged in interactively in order to run. 
Another is that when a user logged out, your program would stop running. 
Servers aren't supposed to stop running just because the admin logs out.

-- 
Rob

Reply via email to