exe到exe通讯 [英] exe to exe communication

查看:94
本文介绍了exe到exe通讯的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


在我的项目中,有些exe文件需要与其他exe文件进行通信.

当前方法:-
将第一个exe数据转换为在其他exe上读取的文本文件.
这不是一个坏主意,但是如果在文件写入或读取中缺少任何内容,我会断言.

为避免我想要某种机制,以便ione exe可以直接与之通信.

注意:-
我不想使用套接字.

Hi,
in my project there is some places where one exe want communicate with other exe.

Current approch:-
first exe data into text file on other exe read.
Not bad idea but if any missing in file writting or reading i got assertion.

to avoid that i want some mechanism so that ione exe can communicate with directly.

NOTE:-
I dons''t want to use sockets.

推荐答案

所以你在Windows-

尝试任何一种.

剪贴板
COM
数据复制
DDE
文件映射
邮筒
管道
RPC
Windows套接字

那么数据复制^
So you are on windows-

Try any of these.

Clipboard
COM
Data Copy
DDE
File Mapping
Mailslots
Pipes
RPC
Windows Sockets

Well Data Copy^ and Pipe^ would be easy options.


这篇关于exe到exe通讯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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