News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Get console output

Started by Farabi, May 01, 2005, 04:59:53 AM

Previous topic - Next topic

Farabi

I want to get the console output screen buffer. What function should I use?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

MichaelW

To get the handle: MSDN: GetStdHandle

To read characters from the buffer: MSDN: ReadConsoleOutputCharacter

To read character attributes from the buffer: MSDN: ReadConsoleOutputAttribute

To read characters and attributes from the buffer: MSDN: ReadConsoleOutput
eschew obfuscation

Vortex

Hi Farabi,

Have a look at the console functions provided by masm32.lib