|
-
May 13th, 2003, 02:03 PM
#12
Thread Starter
Frenzied Member
Originally posted by Merrion
CallWindowLong is an in-process call. You can't call an address of another application this way, I'm afraid, because it will look for the address in the current process (insert weird analogy of streets and addresses here...).
You can, however, get Windows to execute code in another application by sending the main window of that application a WM_TIMER message with lParam pointing to the address you want to run.
Alternatively, if you have the source code for both applications you can implement Inter process communication using registered messages from Visual Basic...
thanks, i will look into this later on 
I think its just what i need (not had a proper look yet though)
why don't you just make a dll and then call the sub from the dll.
i dont want both of the apps to be able to run the sub,
I want to force the external app to run the sub
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
|