Click here to Skip to main content
15,888,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I want to control all the functionalites of a running application from other MFC application.

Lets say u have a "XYZ.exe" which is running always(process), i want to create a application which access the "XYZ.exe" so as to automate.
Posted
Comments
Sandeep Mewara 1-Apr-11 2:34am    
Elaborate: "access the "XYZ.exe" so as to automate. "
Sergey Alexandrovich Kryukov 1-Apr-11 2:45am    
And where is your answer?
--SA
mbue 1-Apr-11 12:46pm    
I dont know why so many peaople want to control other applications. They're looking like officials - control others but never get anything themselves in line.
Regards.

1 solution

What you want to do?



  1. Some applications have an interface to control them (IDispatch) and can
    run as server-app in your process.
  2. Otherwise you can control the application by sending WM_COMMAND messages
    from an injected module (dll by hook) thats not good at all.
  3. Some older applications can be controlled by sending DDE messages.

Regards.

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900