I/O Access through window handle?

N

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?
 
G

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
 
N

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
 

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

Top