2009-06-06 8 views
0
I want to have one application running in the system tray managing the communication between the client/server and login's to the server. Then I want to have multiple c# applications access a class inside the application running in the system tray. When the calling windows application calls the system tray application - the system tray should start up if it is not running. 

Tech Note:
1. toutes les applications utilisent C# 3.5 2. Cela a été très facile avec VB activeX EXE - ne savez pas comment le faire avec C#accès à un objet à partir d'une application Windows en cours d'exécution dans le plateau de système

Répondre

0

En VB, vous utiliseriez DCOM pour fournir des communications interprocessus. Le moyen le plus simple pour .NET est probablement d'exposer un service WCF (assez facile pour héberger un serveur WCF: utilisez la classe ServiceHost) et demandez au client de s'y connecter.

Questions connexes