发送信息。到另一个运行的应用c#win。形成 [英] sending info. to another running app. c# win. form

查看:72
本文介绍了发送信息。到另一个运行的应用c#win。形成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个运行的应用程序,并且想要开发一个应用程序来发送正在运行的应用程序控件的数据,我不知道从哪里开始。任何一段代码都将受到赞赏。

i have an application running and want to develop an application to send data on the running application's control and i have no idea where to start from.Any piece of code will be appreciated.

推荐答案

我认为你正在寻找进程间通信(IPC)。

看看这些文章:

.NET中使用命名管道的进程间通信,部分1 [ ^ ]

进程间通信(IPC)简介和示例代码 [ ^ ]

使用命名管道在C#和C ++之间进行进程间通信 [ ^ ]

您还可以使用内存映射文件:

内存文件 [ ^ ]

使用.NET Framework编程内存映射文件 [ ^ ]

内存映射文件与.NET对象的互操作性 [ ^ ]
I think you're looking for Inter-Process Communication (IPC).
Have a look at these articles:
Inter-Process Communication in .NET Using Named Pipes, Part 1[^]
Inter-Process Communication (IPC) Introduction and Sample Code[^]
Inter-Process Communication between C# and C++ using named pipes[^]
You can also use Memory-Mapped Files:
Memory-Mapped Files[^]
Programming Memory-Mapped Files with the .NET Framework[^]
Memory Mapped File Interoperability with .NET Objects[^]


Google:在应用程序之间进行通信c# [ ^ ]是一个好的开始......
Google: "Communicating between applications c#"[^] is a good start...


这篇关于发送信息。到另一个运行的应用c#win。形成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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