24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 277  |  回复: 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!
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yalefield

金虫 (文坛精英)

老汉一枚

【答案】应助回帖


感谢参与,应助指数 +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
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 susufairy 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 279求调剂 +4 qazplm0852 2026-04-02 4/200 2026-04-02 21:39 by zxjpzh
[考研] 一志愿深大085601材料工程专业(专硕)300分可以调剂去哪 +4 10160315 2026-04-02 4/200 2026-04-02 21:15 by chran16
[考研] 070300化学求调剂 +8 起个名咋这么难 2026-03-27 9/450 2026-04-02 20:42 by dongzh2009
[考研] 一志愿同济大学323分(080500)求调剂 +6 yikeniu 2026-04-01 6/300 2026-04-02 14:19 by smileboy2006
[考研] 环境285分,过六级,求调剂 +6 xhr12 2026-04-02 6/300 2026-04-02 13:38 by sun200805022
[考研] 266求调剂 +4 学员97LZgn 2026-04-02 4/200 2026-04-02 13:03 by yulian1987
[考研] 262求调剂 +5 励志一定发文章 2026-04-02 6/300 2026-04-02 12:51 by yulian1987
[考研] 311求调剂 +16 zchqwer 2026-04-01 18/900 2026-04-02 10:15 by 不吃魚的貓
[考研] 354求调剂 +4 lxb598 2026-03-31 5/250 2026-04-02 09:55 by Jaylen.
[考研] 270调剂 +7 maxjxbsk 2026-04-02 7/350 2026-04-02 09:50 by yulian1987
[考研] 材料调剂 +11 一样YWY 2026-03-31 11/550 2026-04-01 22:25 by zhouyuwinner
[考研] 调剂 +3 好好读书。 2026-04-01 3/150 2026-04-01 17:06 by zhouyuwinner
[考研] 材料调剂 +11 一样YWY 2026-03-31 11/550 2026-04-01 11:35 by wangjy2002
[考研] 070300求调剂306分 +5 26要上岸 2026-03-27 5/250 2026-04-01 11:09 by oooqiao
[考研] 318求调剂 +8 七忆77 2026-04-01 8/400 2026-04-01 10:37 by Jaylen.
[考研] 333求调剂 +4 阿科逸 2026-03-31 4/200 2026-04-01 09:11 by jp9609
[考研] 071010 323 分求调剂 +3 Baekzhy 2026-03-27 3/150 2026-03-30 14:24 by andresqi
[考研] 304求调剂 +6 曼殊2266 2026-03-27 6/300 2026-03-28 14:10 by 唐沐儿
[考研] 085405 考的11408求各位老师带走 +3 Qiu学ing 2026-03-28 3/150 2026-03-28 09:19 by 乐呵呵的追梦人
[考研] 一志愿吉大071010,316分求调剂 +3 xgbiknn 2026-03-27 3/150 2026-03-27 10:36 by guoweigw
信息提示
请填处理意见