和IPC .NET之间的C ++应用程序 [英] IPC between .NET and C++ applications

查看:198
本文介绍了和IPC .NET之间的C ++应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何图书馆的.NET应用程序和本地C ++应用程序?

Are there any libraries for inter-process communication (IPC) between a .NET application and a native C++ application?

推荐答案

您可以使用套接字进行简单的交流。它在操作系统,所以你不需要任何新库。在 C ++的Socket 的详细信息和的 C#的Socket

You can use Socket for simple communication. It's in the os so you don't need any new libraries. Detailed info in C++ Socket and C# Socket

如果进程间通信总是要在同一台机器上完成,命名管道的路要走,因为他们比其他的选择更快。

If the interprocess communication is always going to be done on the same machine, named pipes is the way to go because they are faster than other options.

这篇关于和IPC .NET之间的C ++应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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