如何从一个EXE获得价值到其他EXE [英] How to Get Value from one EXE to other EXE

查看:84
本文介绍了如何从一个EXE获得价值到其他EXE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我只想在两个exe之间进行通信。

我将在下面描述我的问题。



我有两个EXE,即EXE1和EXE2。



如果我单击EXE1中的一个按钮,我需要从EXE2获取标志值,以便我可以继续在EXE1上。



如何从EXE2到EXE1获取值。

Hi,
I just want to communicate between two exe's.
I shall describe my problem below.

I am having two EXE's namely EXE1 and EXE2.

If I click a button in EXE1 I need to get the flag value from EXE2 so that I can proceed on EXE1.

How can I get the values from EXE2 to EXE1.

推荐答案

如果是两者同时在同一台PC(甚至同一局域网段)上执行,那么最简单的方法就是使用套接字类 [ ^ ] - 该链接包含一个示例。
If they are both executing at the same time on the same PC (or even on the same LAN segment) then the easiest way is probably just to use the Socket class[^] - the link includes an example.


这篇关于如何从一个EXE获得价值到其他EXE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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