Hello Mark,

Thank you for the quick reply and the source code!

I have a few questions about your approach:

1. Shared memory approach will not provide notifications.
So, for example, in order for the service to change the tray icon
image, an event (or multiple events) will have to be created and
also threads to wait on the events?

2. Can you please explain the benefit of accessing a shared memory
block with a stream? Wouldn't it be easier to map it to a structure
and access the structure member directly?

-- 
Best regards,
Jack

Tuesday, October 11, 2005, 12:40:29 PM, you wrote:

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

> I have a half dozen Service apps that need tray icons.  I have another
> Service which provides them.  I have created a TStream derivative which uses
> shared memory for the communication.  Of course, with share memory, the
> monitor app and the service it communicates with has to be on the same
> machine.

> ...

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

Reply via email to