什么是两个C#应用程序(32位和64位)之间的IPC的最佳方式 [英] What's the best way to IPC between two C# apps (32bit and 64bit)

查看:369
本文介绍了什么是两个C#应用程序(32位和64位)之间的IPC的最佳方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个是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:

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

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

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

这篇关于什么是两个C#应用程序(32位和64位)之间的IPC的最佳方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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