Is there a method for accessing the display image that can be run at a high framerate, i.e. 30 fps or higher? I want to write a small application that records a video of the game I am playing. I can handle raw DIB etc.
This is a discussion on Real time access to display image within the Windows Programming forums, part of the Platform Specific Boards category; Is there a method for accessing the display image that can be run at a high framerate, i.e. 30 fps ...
Is there a method for accessing the display image that can be run at a high framerate, i.e. 30 fps or higher? I want to write a small application that records a video of the game I am playing. I can handle raw DIB etc.
Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.
Sorry, perhaps I'm not reading very well, but do you mean "read back what's on the screen" or "display something on the screen"?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Read back whats on the screen of course, good lord im not a total noob
I found this so far.
Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.
The code in that link looks about right. You probably won't get overlays/video/cursor in the bitmap. Unfortunately, reading back from the framebuffer isn't exactly the fastest thing you can do, but it should work. Of course, you wan't to set a timer for 33ms to capture 30 fps. Should be doable, I think.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.