Jump to content


reading/writing to screen buffer


3 replies to this topic

#1 starboarder2001

    Member

  • Members
  • PipPip
  • 35 posts

Posted 12 February 2004 - 06:42 AM

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:
1000
0100
0010
0001

#2 Mihail121

    Senior Member

  • Members
  • PipPipPipPip
  • 1050 posts

Posted 12 February 2004 - 10:49 AM

Check out "DIB sections"

#3 anubis

    Senior Member

  • Members
  • PipPipPipPip
  • 2225 posts

Posted 13 February 2004 - 09: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
If Prolog is the answer, what is the question ?

#4 Win32Assembler

    New Member

  • Members
  • Pip
  • 1 posts

Posted 28 October 2004 - 07:49 PM

starboarder2001 said:

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:

View Post



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:





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users