synchronization of options
-
Hi, guys Do you know any managed pattern for syncropnization of options betwean 2 applications? I have a Configuration tool and tray application. Both run under the same limited user account, and when user modified settings in Configurator i need tray application to be updated without restarting it. Target framework is 2.0 I searched in internet and found only Remoting, but it depends on a port number, so there might be a situation when other app already uses this port Are there any gracefull decisiongs? I will be glad if you give me some links, code portions... Thank's in advance Siarhei
-
Hi, guys Do you know any managed pattern for syncropnization of options betwean 2 applications? I have a Configuration tool and tray application. Both run under the same limited user account, and when user modified settings in Configurator i need tray application to be updated without restarting it. Target framework is 2.0 I searched in internet and found only Remoting, but it depends on a port number, so there might be a situation when other app already uses this port Are there any gracefull decisiongs? I will be glad if you give me some links, code portions... Thank's in advance Siarhei
Cuchuk Sergey wrote:
I searched in internet and found only Remoting, but it depends on a port number
If the processes are on the same machine, a port doesn't matter. For a TcpChannel the port can be 0, and an unused port will be used. An IpcChannel will perform better and requires no port number. .NET Remoting Overview[^] Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Cuchuk Sergey wrote:
I searched in internet and found only Remoting, but it depends on a port number
If the processes are on the same machine, a port doesn't matter. For a TcpChannel the port can be 0, and an unused port will be used. An IpcChannel will perform better and requires no port number. .NET Remoting Overview[^] Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: