exe到exe通讯

编程入门 行业动态 更新时间:2024-10-27 18:21:28
本文介绍了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通讯

本文发布于:2023-07-05 07:55:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1034907.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:通讯   exe

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!