473,320 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Intercept windows messages to another apps window

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
4 8281
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
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


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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Todd Smith | last post by:
I've read about Browser Helper Objects and how they load in a dll with IE and can intercept messages and change things. I've got a neat idea for a change to the icq interface, but I don't want to...
13
by: Kai Grossjohann | last post by:
It seems that Ctrl-N in Mozilla opens a new empty browser window. That's fine, I don't need to do anything about it. But Ctrl-N in IE appears to clone the current window. Is there a way to...
1
by: Tim Marshall | last post by:
I've just received a new computer with Win XP Version 5.1.2600. I want to have Access 2003 and Access 97 running on this, so I did some googling on cdma and it seems I must install these versions...
8
by: Todd Smith | last post by:
I'm wondering if anyone knows where I can learn a good programming method for creating windows apps. I'm just starting to learn windows programming with MSVC++ 6.0. I want to learn low level...
8
by: Bf | last post by:
I was creating test projects using c# and was surprised that there seems to be only a form based windows applications available. Is it safe to assume that classic window applications that utilize a...
4
by: Zoplax | last post by:
Let's say I want to watch a RichEdit control (e.g. a chat window) outside of my own C# application and intercept its Windows messages. Is there a way to do this?
14
by: | last post by:
Hi All, I am little confused here, hope you can help me. While processing WM_POWERBROADCAST (wParam=PBT_APMQUERYSUSPEND), I MUST to do some lengthy operation(30 sec) before system Suspends or...
10
by: morangolds | last post by:
Hi, I've been having a problem with C++ Windows Forms apps not "ending" when you close the form window. I've searched about this problem all over the place and most searches have lead me to...
15
by: Angelo | last post by:
Hi all, I'm using a FileSystemWatcher to monitor a directory. I want the FSW to pop up my already instantiated but invisible form. However, I'm running into some problems with this. 1) In...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.