This is a topic discussed in August. I did some rethinking
on it. My opinion is that it's difficult (impossible?) to
do the tray icon in a service.

For a service + tray icon + GUI scenario, I think a user
application is needed. Basically the service does all the
work and the GUI application starts when a user logs in
and communicate with the service using some IPS mechanism
(named pipe? socket? any other suggestions?)

The downside is that the communication between the service
and the tray icon is some extra work. Any existing framework
out there?

-- 
Best regards,
Jack

Sunday, August 28, 2005, 10:41:57 AM, you wrote:

> Hello Jack,

J>> I tried your svc sample. When I have two users logged on
J>> Win XP with Fast User Switching, the service shows a tray
J>> icon in one of the user's desktop but not the other one.
J>> I think the reason is what I just mentioned in the previous
J>> paragraph.

> Yes I did some experiments and it is very wierd. Even FindWindow seems
> not always to work eather. Even Show; does sometime not work, and when
> it not work and I log off remote and logon local then I see my window..

> I wonder how other do this...

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to