Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Automating a game (Win32/C++)

0 views
Skip to first unread message

AngleWyrm

unread,
Jan 28, 2008, 9:47:14 PM1/28/08
to
Hi,
I want to send keystrokes to a child process' console. The main application
process provides the keystrokes, and the child console (running a
third-party game) consumes those keystrokes.

WriteConsoleInput seems to be the function I need
(http://msdn2.microsoft.com/en-us/library/ms687403(VS.85).aspx)

How can I get a handle to a child window's console input (hConsoleInput)?

0 new messages