By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,610 Members | 1,559 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,610 IT Pros & Developers. It's quick & easy.

Intercept windows messages to another apps window

P: n/a
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?
Nov 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hey,

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

- Moty -

"KlassifiedBBS" <kl********@mailinator.com> wrote in message
news:Xn**********************************@207.46.2 48.16...
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?

Nov 17 '05 #2

P: n/a
hi

You can;t

Look at this KB article
http://support.microsoft.com/default...b;EN-US;318804

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"KlassifiedBBS" <kl********@mailinator.com> wrote in message
news:Xn**********************************@207.46.2 48.16...
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?

Nov 17 '05 #3

P: n/a


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


"Moty Michaely" <mo**@speedocs.co.il> wrote in
news:ek**************@tk2msftngp13.phx.gbl:
Hey,

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

- Moty -

"KlassifiedBBS" <kl********@mailinator.com> wrote in message
news:Xn**********************************@207.46.2 48.16...
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?



Nov 17 '05 #4

P: n/a
have a look on msdn for Windows hooks,
there is no managed api so you will have to use PInvoke

regds
Brian

"KlassifiedBBS" wrote:
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?

Nov 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.