2011年12月31日

C#中Remoting的IPC通信之Winform与Windows服务通信错误问题及解决

摘要: 按照传统的写法我试过好多次都发现通过Winform向Windows服务发送消息Windows服务收不到,而在两个Winform程序之间却可以正常通信。代码如下:IpcServerChannel serverChannel = new IpcServerChannel("ipc");ChannelServices.RegisterChannel(serverChannel, false); RemotingConfiguration.RegisterWellKnownServiceType(typeof(RemotingObject), "hi", Wel 阅读全文

posted @ 2011-12-31 17:31 Hexy 阅读(1379) 评论(0) 推荐(0) 编辑

导航