| 查看: 267 | 回复: 1 | |||
susufairy铁杆木虫 (正式写手)
|
[求助]
call external program in a win32 application
|
| I am developing a win32 application using Qt. Right now my application has to call a program that operate an extrenal machine connected to PC using serial port and let the machine to read some optical density data and then export that data to my application. I am using QProcess and it successfully launches that external program. My questions are: how my program ask that external program to perform the menu operations like "read optical density" and "export data" so that my program can get the optical density data. Thanks a lot for the help and nice day! |
» 猜你喜欢
免疫学博士有名额,速联系
已经有12人回复
面上基金申报没有其他的参与者成吗
已经有4人回复
退学或坚持读
已经有16人回复
青椒八年已不青,大家都被折磨成啥样了?
已经有16人回复
国家基金申请书模板内插入图片不可调整大小?
已经有8人回复
多组分精馏求助
已经有6人回复
国家级人才课题组招收2026年入学博士
已经有6人回复
交叉科学部支持青年基金,对三无青椒是个机会吗?
已经有7人回复
» 本主题相关价值贴推荐,对您同样有帮助:
yalefield
金虫 (文坛精英)
老汉一枚
- 程序强帖: 3
- 应助: 129 (高中生)
- 贵宾: 0.17
- 金币: 21238.9
- 散金: 3440
- 红花: 66
- 帖子: 12101
- 在线: 759.1小时
- 虫号: 96063
- 注册: 2005-10-07
- 专业: 高等教育学
- 管辖: 计算模拟
【答案】应助回帖
★
感谢参与,应助指数 +1
jjdg(金币+1): 感谢参与 2012-03-03 02:29:02
ben_ladeng(专家考核): 2012-03-04 10:41:56
感谢参与,应助指数 +1
jjdg(金币+1): 感谢参与 2012-03-03 02:29:02
ben_ladeng(专家考核): 2012-03-04 10:41:56
|
There are several ways to build up communications among applications. However, they depend on the functions of the applications, which means you may not be able to talk to a running program when it cannot receive and response to your callings. As to your question, one simple appraoch is to read the files the external program wrote/exported. This is absolutely slow.... Unless you have the source code of the external program or it has the function to set up communications to your codes. |
2楼2012-03-02 20:09:45













回复此楼