| 查看: 275 | 回复: 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! |
» 猜你喜欢
售SCI一区文章,我:8 O5 51O 54,科目齐全,可+急
已经有4人回复
售SCI一区文章,我:8 O5 51O 54,科目齐全,可+急
已经有6人回复
售SCI一区文章,我:8 O5 51O 54,科目齐全,可+急
已经有7人回复
售SCI一区文章,我:8 O5 51O 54,科目齐全,可+急
已经有9人回复
售SCI一区文章,我:8 O5 51O 54,科目齐全,可+急
已经有6人回复
售SCI一区文章,我:8 O5 51O 54,科目齐全,可+急
已经有6人回复
版面费该交吗
已经有8人回复
售SCI一区文章,我:8 O5 51O 54,科目齐全,可+急
已经有3人回复
基金正文30页指的是报告正文还是整个申请书
已经有6人回复
面上可以超过30页吧?
已经有4人回复
» 本主题相关价值贴推荐,对您同样有帮助:
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













回复此楼