Connecting Tech Pros Worldwide Forums | Help | Site Map

Low level Screen Capture. No API/GDI / No DirectX/openGL

smalltownworld@gmail.com
Guest
 
Posts: n/a
#1: Jul 5 '06
Anyone got an idea of capturing a screen without api and or
opengl/directx?
Was thinking about reading from primary display driver memory but not
sure if it can be parsed into an image . . . Any thoughts?

Jakob Bieling
Guest
 
Posts: n/a
#2: Jul 5 '06

re: Low level Screen Capture. No API/GDI / No DirectX/openGL


smalltownworld@gmail.com wrote:
Quote:
Anyone got an idea of capturing a screen without api and or
opengl/directx?
Was thinking about reading from primary display driver memory but not
sure if it can be parsed into an image . . . Any thoughts?
On Mac? Windows? Linux? The answer should already hint you that you
are looking for a platform specific answer. There is no way to do this
portably with Standard C++, the topic of this group. Check the FAQs (you
should have done so before posting already!) for where to best post this
kind of question:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

hth
--
jb

(reply address in rot13, unscramble first)


Jim Langston
Guest
 
Posts: n/a
#3: Jul 7 '06

re: Low level Screen Capture. No API/GDI / No DirectX/openGL


<smalltownworld@gmail.comwrote in message
news:1152132352.390938.176900@v61g2000cwv.googlegr oups.com...
Quote:
Anyone got an idea of capturing a screen without api and or
opengl/directx?
Was thinking about reading from primary display driver memory but not
sure if it can be parsed into an image . . . Any thoughts?
Reading direct from video memory should work depending on if your OS lets
you read it. I know at one time on Microsoft platforms video memory started
at C800 I'm not sure if it still does for all graphic modes. I'm not even
sure where to find out where it starts if that's not it.

In other OSes it is probably somewhere else, and you may not have access to
it. So ask in a newsgroup applicable to your OS.


Closed Thread


Similar C / C++ bytes