m_Read = Semaphore.OpenExisting(spname);

用过之后要记得关闭 否则内存泄漏

 m_Read.Close();

 

要想 服务进程 之间交互 使用 Global\\Erist.Remote.ShareMemory 全局对象

posted on 2018-12-19 12:46  eristjy  阅读(123)  评论(0编辑  收藏  举报