什么是两个C#应用程序(32位和64位)之间的IPC的最佳方式应用程序、两个、方式、IPC

由网友(浅爱べ莫相离)分享简介:一个是64,另一个是32位。目前,我正在做的,同时使32位应用程序控制台,并读取输出。有没有更好的办法?我的数据是文本。One is 64bit, the other is 32bit. I'm currently doing it while making the 32bit app console, and re...

一个是64,另一个是32位。目前,我正在做的,同时使32位应用程序控制台,并读取输出。有没有更好的办法?我的数据是文本。

One is 64bit, the other is 32bit. I'm currently doing it while making the 32bit app console, and reading the output. Is there a better way? My data is text.

编辑:这两个可执行文件在同一台机器上的

Both executable are on the same machine.

推荐答案

如果你被限制在.NET 2.0,那么有几个方法可以做到这一点:

If you are constrained to .NET 2.0 then there are a few ways you can do it:

如果这两个应用程序在不同的机器上,你可以使用套接字或.NET Remoting的(取决于相互作用的复杂性) 如果这两个应用程序是在同一台机器上,.NET Remoting的是一个确定的选择。

这它们是32位或64位不以任何方式影响此事实。

The fact that they are 32 or 64 bit does not influence this in any way.

阅读全文

相关推荐

最新文章