reading/writing to screen buffer

F699ebb187331fdf7f7875320e3e7e3e
0
starboarder2001 101 Feb 12, 2004 at 06:42

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:

3 Replies

Please log in or register to post a reply.

2b97deded6213469bcd87b65cce5d014
0
Mihail121 102 Feb 12, 2004 at 10:49

Check out “DIB sections”

F7a4a748ecf664f189bb704a660b3573
0
anubis 101 Feb 13, 2004 at 09:29

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

A56806cf944967665657b9bca98dc0d0
0
Win32Assembler 101 Oct 28, 2004 at 19:49

@starboarder2001

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:

[snapback]7270[/snapback]

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: