| 查看: 302 | 回复: 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! |
» 猜你喜欢
求各位大神看下
已经有31人回复
咨询面上基金
已经有7人回复
影响面上的因素
已经有11人回复
filecode
已经有4人回复
8月时间戳变的,举个手。玩一下,释放压力
已经有11人回复
一个有机合成实验室都需要哪些设备?
已经有11人回复
面上再次挂了,太难了,躺也躺不了,倦也卷不过,小学校之殇!
已经有30人回复
好消息?这个有何含义???
已经有10人回复
【2027博士申请】纳米药物递送方向
已经有4人回复
UV压敏胶开发
已经有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










回复此楼