简体   繁体   中英

What's the best way to IPC between two C# apps (32bit and 64bit)

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.

EDIT: Both executable are on the same machine.

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

  1. if the two apps are on different machines, you can use sockets, or .net Remoting (depending on the complexity of interaction)
  2. if the two apps are on the same machine, .net Remoting is an ok choice.

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

在.NET 2.0中,您可以使用Remoting

进行IPC程序是32位还是64位都没有关系,因此请选择所需的方法(请参阅此文章 )。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM