PDA

View Full Version : reading/writing to screen buffer


starboarder2001
02-11-2004, 10:42 PM
Are there any function provided by windows that can read from the screen buffer? Or am I going to have to write some assembly? :confused: I have searched allot for information about this, and even searched through the windows headers....no luck. Maybe it is not refered to as the "screen buffer"...I am talking about the data that you see on the monitor(a screenshot like pressing print screen).

thanks...:) :yes:

Mihail121
02-12-2004, 02:49 AM
Check out "DIB sections"

anubis
02-13-2004, 01:29 AM
be aware thought that you be able to do magic with that... if you plan to animate anything at an interactive rate i'd check out SDL or directdraw. those give you direct access to the screenbuffer

Win32Assembler
10-28-2004, 12:49 PM
Are there any function provided by windows that can read from the screen buffer? Or am I going to have to write some assembly? :confused: I have searched allot for information about this, and even searched through the windows headers....no luck. Maybe it is not refered to as the "screen buffer"...I am talking about the data that you see on the monitor(a screenshot like pressing print screen).

thanks...:) :yes:
7270



Try the win API WriteConsoleOutputCharacter

Use your win32 API reference for help. I'm an assembly guy but I think you can access it from C++. It is considered a low level call :sad: