Home All Groups Group Topic Archive Search About

I/O Access through window handle?

Author
25 Aug 2006 3:02 AM
Nathaniel
I play an online game application that displays how many points I have
earned throught my game play. I want the number of points I have earned to
appear as a string in a text box in the program I am writing in VB.net. If I
already knew the window handle, is there someway of accessing the I/O stream
to find out my point status?

Author
25 Aug 2006 3:32 AM
GhostInAK
Hello Nathaniel,

I don't know anything about your game client.. so I will answer your question
as asked..  No.  There is no way (at least no reliable way) of moving from
window handle to network stream.

Some asides...
If the game client uses standard controls from comctl32 (ie, not a directX
game).. it may be possible to snake the value away from the control that
displays it.

There is the possibility that you could read the value from the game client's
memory space.  This is about as easy and realiable as getting the network
stream based on a window handle.

If you know how to interpret the network stream, you could either write your
own game client.. or suck the bits off the existing client's network stream
using a library like WinPCap.

-Boo

Show quoteHide quote
> I play an online game application that displays how many points I have
> earned throught my game play. I want the number of points I have
> earned to appear as a string in a text box in the program I am writing
> in VB.net. If I already knew the window handle, is there someway of
> accessing the I/O stream to find out my point status?
>
Author
25 Aug 2006 12:24 PM
Nathaniel
Well the client (Absolute poker) uses port 443 to accsess my point status
over the internet. So I dont think reading it from the network stream would
work. How would I begin to attampt the other solutions you mentioned:

1)Snake the value away from the control that
displays it.

or

2)Read the value from the game client's
memory space