我正在尝试创建两个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");但是当它到达第二个ChannelServices时,它会给出一个错误
频道“ipc”已经注册
有人愿意帮忙吗?
发布于 2010-05-22 17:31:00
参见这个问题利用IPC进行双向通信
https://stackoverflow.com/questions/2889046
复制相似问题