質問
この質問にはすでに答えがあります:
- チャネル「TCP」はすでに登録されています 3つの答え
2つのIPCチャネルを作成しようとしています
IpcChannel ipcChannel = new IpcChannel("DroolsClient");
ChannelServices.RegisterChannel(ipcChannel, false);
objec = (DroolsInterface.RulesEngineInterface)Activator.GetObject(typeof(DroolsInterface.RulesEngineInterface), "ipc://Drools/SreeniRemoteObj");
IpcChannel ipcChannel2 = new IpcChannel("ProxemClient");
ChannelServices.RegisterChannel(ipcChannel2, true);
objec2 = (ProxemProject.ProxemInterface)Activator.GetObject(typeof(ProxemProject.ProxemInterface), "ipc://ProxemProcess/SreeniRemoteObj");
しかし、2番目のChannelServicesに到達すると、エラーが発生します
チャネル「IPC」はすでに登録されています
誰かが助けてくれて親切ですか?
解決
この質問を参照してください IPCを使用した双方向通信
所属していません StackOverflow