Hi there,
we are creating some automated backup solution for some user application (let's say "UserApp" ;)). Now, the backup service is working perfectly.
But there's a problem: the backups cannot be created if some user is working with the "UserApp" at the same time, because of locked files, etc. So the service should be able to tell the user to close the application and wait until the user does.
As I already know that a service shouldn't (and since Vista: CANNOT) communicate with the user "directly", I thought of a system tray icon where the user also could see whether the service is running.
Now I also partly created such a tray app and it is working well so far.
My big problem is now, that I don't have a clue about creating a client-service-communication. As said, I want the service to send some sort of message to the system tray application, which then perhaps translates that message and informs the user with a ballon tip for example.
Is there a simple way to achieve this?
How would you going to do this?
Which sort of communication would you use? IPC? Pipes? Sockets?
I have read many articles and threads about this topic, but I couldn't find any proper solution and/or how to implement that.
Thanks in advance for helping me ;)
Greetings
Lawyno