与其他应用程序互动 [英] Interact with another applications

查看:53
本文介绍了与其他应用程序互动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

:confused:

我想编写一个与MS word等不同应用程序进行交互(例如可以关闭,最小化等)的程序,但是它失败了.

我可以寻求帮助吗?
:thumbsup:
thanXs

:confused:

i want to write a program that interact(like can close, minimize, etc...) with different application program like MS word , but it fail.

can I get a help ?
:thumbsup:
thanXs

推荐答案

做到这一点的唯一方法是COM(如果该应用程序(如Word一样,支持COM接口)),则尝试通过发送WM_消息来控制它(或地狱之类的小东西),或已编写并设计为与之交互的主机程序的某种其他类型的进程间方法.

您的问题是胡说八道,因为您不给我们任何线索以防万一.您尝试了什么?
The only ways to do this are COM ( if the app, like Word does, supports a COM interface ), trying to control it by sending WM_ messages ( which is dodgy as hell ), or some other sort of inter process method where the host program has been written and designed to be interacted with.

Your question is nonsense, because you don''t give us any clue what is failing. What have you tried ?


这篇关于与其他应用程序互动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆