本文介绍了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通讯
发布评论