Intercept windows messages to another apps window

  • Thread starter Thread starter KlassifiedBBS
  • Start date Start date
K

KlassifiedBBS

I want to create a game bot for a video chat program with a closed API. I
can see the windows messages when I hook up Spy++ to the window in
question. I have done numerous Googles for some kind of example in C# code
to no avail.

Can someone point me to someplace with a little information how to do this?
 
I would like to know how to hook into the message stream and capture the
messages sent to that window. Like when When I attach Spy++ to the chat
window and see all the windows messages scroll by,

It would save quite a bit of my time if there was some information about
which messages are the actual alpha characters. The window in question
is a RichText box, and it has character formatting in the stream. Trial
and error in figuring out the actual text would seem to be a long
tedious process.

I want the bot to post a "question" in one window, and watch another
window for the correct answer.

I kind of have the post to one window covered but it is in old vb6. Any
dotnet help appreciated
 
Hey,

Can you be more specific? What kind of communication you need?

- Moty -
 
have a look on msdn for Windows hooks,
there is no managed api so you will have to use PInvoke

regds
Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top