|
-
March 8th, 2004, 07:20 AM
#1
diffrent program manipulatio
Hello.
i got this program # 1, wich does some crap.....
and now i am making program #2, and i need the program #2 to be able to manipulate program #1. By manipulate i mean i want to be able to call dialog reasources to open, button pressed, edit filed filed in /cleared etc....i want to be able to manipulate all the resource of other program from this one.
how can i do that>?
-
March 8th, 2004, 08:54 AM
#2
Not easily.
You can pass messages between both apps which are declared by ::RegisterWindowsMessage.
Or, alternatively, your could turn app #1 into a COM local server (like with Word).
Why do you want to do this out of interest ? I've been writing code for years and have never had to have one application driving another. It suggests that your design is wrong and needs more thought.
Darwen.
-
March 8th, 2004, 12:13 PM
#3
I agree with Darwen, becuae the real way that you could get app2 to control app1 would be by opening app1 up in a number of different ways, either through the exe or a dll, etc. What are you tyring to do?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|