C#与C++进程间通信

上传者: yaguang_li | 上传时间: 2019-12-21 22:08:07 | 文件大小: 27KB | 文件类型: rar
通过命名管道实现了C#及C++进程的通信,并支持复制类型数据结构的传输.

文件下载

资源详情

[{"title":"( 23 个子文件 27KB ) C#与C++进程间通信","children":[{"title":"IPCDemo","children":[{"title":"IPCDemo","children":[{"title":"memory_leak.h <span style='color:#111;'> 318B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false},{"title":"IPCDemo.vcxproj <span style='color:#111;'> 3.94KB </span>","children":null,"spread":false},{"title":"IPCDemo.vcxproj.filters <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"IPCDemo.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false}],"spread":true},{"title":"IPCDemo.suo <span style='color:#111;'> 40.50KB </span>","children":null,"spread":false},{"title":"IPCDemo.sln <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"IPCClient","children":[{"title":"Debug","children":[{"title":"IPCClient.Build.CppClean.log <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"IPCClient.log <span style='color:#111;'> 419B </span>","children":null,"spread":false}],"spread":true},{"title":"memory_leak.h <span style='color:#111;'> 318B </span>","children":null,"spread":false},{"title":"IPCClient.vcxproj.filters <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"IPCClient.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"IPCClient.vcxproj <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"IPC","children":[{"title":"NamedPipe","children":[{"title":"NamedPipeClient.cs <span style='color:#111;'> 777B </span>","children":null,"spread":false},{"title":"NamedPipe.cs <span style='color:#111;'> 7.71KB </span>","children":null,"spread":false},{"title":"NamedPipeServer.cs <span style='color:#111;'> 654B </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 904B </span>","children":null,"spread":false},{"title":"IPC.csproj <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"TempPE","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 5.67KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"IPC.vshost.exe <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":null,"spread":false}],"spread":true},{"title":"ObjectToByteArray.cs <span style='color:#111;'> 877B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • Pipi0714 :
    这是命名管道,这里可以发送结构。不推荐这么用,这涉及到内存对齐。不一定都好用。没有做实际测试,看了不是匿名管道就没有继续测试。
    2021-02-06
  • o330820350 :
    分太贵了~~~ 测试稳定性还有欠缺
    2019-05-29
  • chenxifanjing :
    作用不是特别大,但是代码很规范,
    2018-10-24
  • 求证 :
    很不错,用得上
    2017-09-29
  • edwardYang :
    named pipe传输数据没有问题
    2016-07-01

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明