C#和C ++命名管道 [英] C# and C++ named pipes

查看:150
本文介绍了C#和C ++命名管道的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不确定在哪里发帖,但这个论坛似乎有点相关。


我正在尝试从应用程序(用C#编写)发送数据到另一个程序(用C ++编写)。我读了一下它,似乎我需要一种叫做命名管的东西?我想知道是否有人有关于如何做所有
的任何参考或教程。


提前致谢,所有。


先生。 O

解决方案

命名管道是OS对象。 .Net在System.IO命名空间中命名了管道包装类。您可以

查看Windows SDK论坛中的样本和文档

查看Net BCL论坛,讨论.Net包装类

中还有一些讨论
安全编程论坛 关于访问由另一个用户创建的命名管道

I'm not sure where to post this, but this forum seemed somewhat related.

I am trying to send data from an application in (written in C#) to another program (written in C++). I read a little about it, and seems that I need something called Named Pipes? I was wondering if anyone has any references or tutorials on how to do all that.

Thanks in advance, all.


Mr. O

解决方案

Named pipes are OS objects. .Net has named pipe wrapper classes in the System.IO namespace. You can either look into the Windows SDK forum for samples and documentations or look into the Net BCL forum for discussions about the .Net wrapper classes. There are some more discussions in the security programing forum about accessing a named pipe created by another user


这篇关于C#和C ++命名管道的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆