News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

How to get handle to a determined console?

Started by x64Core, October 28, 2012, 06:39:08 PM

Previous topic - Next topic

x64Core

Hi everybody :D
guys how to can I get a handle to a specific console?
my aim is, I want to read the contents of the console but if
i have several console windows opened, how to get the handle to one just, GetStdHandle doesn't works (I think ) :P
:D

Vortex



Vortex

Hi RHL,

Does your consoles have different titles? This would simplify the solution.

x64Core

Quote from: Vortex on October 28, 2012, 07:23:46 PM
Hi RHL,

Does your consoles have different titles? This would simplify the solution.

Yes, in actually I have several console windows. I didn't know can use FindWindow to get the handle lol