473,796 Members | 2,648 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 8315
Hey,

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

- Moty -

"Klassified BBS" <kl********@mai linator.com> wrote in message
news:Xn******** *************** ***********@207 .46.248.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

"Klassified BBS" <kl********@mai linator.com> wrote in message
news:Xn******** *************** ***********@207 .46.248.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******** ******@tk2msftn gp13.phx.gbl:
Hey,

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

- Moty -

"Klassified BBS" <kl********@mai linator.com> wrote in message
news:Xn******** *************** ***********@207 .46.248.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

"Klassified BBS" 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
2107
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 write a whole new app. Ideally, (if it worked like a BHO), I could have a dll installed that would load with icq and interecept messages, so instead of the icq window popup, something else would happen. Also, people could keep their icq...
13
9462
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 intercept the key so that I can do stuff on the server side to make the new window behave correctly? (We have a JSP-based webapp which stores state in the session. Now if two windows access (and modify!) the same session, then madness will result....
1
43989
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 of Access "sequentially", ie, A97, first. When I use the Office 97 installation cd, pick my choices, I end up, at the end of the installation, an error telling me the system.mdw could not be created. When I click OK on this, the installer...
8
2394
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 windows programming in C first. I don't want to learn any bad habits by hacking away at code until I get something to work. Specifically, I'd like to learn how to set up and plan out a C windows project and break it down into pieces of code that will...
8
1658
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 parent window with child windows can only be done in c++ and mfc and there's nothing else in .net that is meant to be used like that? It seems to be that c# should be used for either form based windows apps, console apps, and web apps (also...
4
1850
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
4113
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 hibernates. To achieve this, in my message handler when processing PBT_APMQUERYSUSPEND, I create another thread which takes care of making this lengthy operation, and when its done I
10
10055
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 believe that this has to do with unreleased form component events or event handlers. I'm comparatively new to .net and windows forms, in the sense that though I've been using them for over 2 years now, it's been rather sporadic. I work with...
15
4776
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 the FSW.Changed FileSystemEventhandler, I called the Show method 'frmMain.Show( )' on my form, the form appears but not completely painted and it appears to be hanging with the hourglass.
0
9535
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10242
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9061
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7558
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6800
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5453
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4127
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2931
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.