On Apr 5, 8:57 pm, Joseph M. Newcomer <newco...@flounder.com> wrote:
Why are you doing something this complex? CreateRemoteThread is a great
virus-injection
mechanism, so I'd also be cautious about doing something that will not
work under Vista.
If you created a remote thread, what is it doing? If it has a message
pump, consider
using PostThreadMessage to it. If it doesn't have a message pump,
consider rewriting it
to have one. Or it could create an invisible window as a message target.
If process 2 is a dialog you wrote, you should not be doing something as
complex as DLL
injection or CreateRemoteThread; just have the app do whatever it needs.
So if you have a
handle to which you can post messages, it suggests that you have control
of the process 2
source code because otherwise it wouldn't make sense to consider posting
messages to a
process that you can't write handlers for.
joe
On 4 Apr 2007 21:42:24 -0700, "sukh" <sukhjeet...@gmail.com> wrote:
Hi all,
I have one problem of communicating b/w tow process. Like i have
Process1 that Injects DLL into Process2. I want to Post keyboard msgs
over some dialog in Process2. I have injected the DLL using
createremoteThread. I even have the handle of dialog to which i want
to post messges
How can i do it from Process1. Any help will be appreciable
Thanking in advance
Sukhjeet
Joseph M. Newcomer [MVP]
email: newco...@flounder.com
Web:http://www.flounder.com
MVP Tips:http://www.flounder.com/mvp_tips.htm
Hi thanx for the info u provided. But i want to know that how process1
process running on remote computer in default desktop . its vey
urgent . help plz thanx