Linked Questions

208 votes
13 answers
402k views

I am making a screen capturing application and everything is going fine. All I need to do is capture the active window and take a screenshot of this active window. Does anyone know how I can do this?...
NateShoffner's user avatar
  • 16.9k
185 votes
16 answers
225k views

I want to write a screencasting program for the Windows platform, but am unsure of how to capture the screen. The only method I'm aware of is to use GDI, but I'm curious whether there are other ways ...
someguy's user avatar
  • 7,414
63 votes
5 answers
117k views

How can I take a screenshot of the current screen using Win32?
user63898's user avatar
  • 31.1k
50 votes
5 answers
144k views

How can I capture the screen in Windows PowerShell? I need to be able to save the screen to disk.
Start-Automating's user avatar
32 votes
6 answers
28k views

BACKGROUND I am writing a screen capture application My code is based derived from this project: http://www.codeproject.com/KB/cs/DesktopCaptureWithMouse.aspx?display=Print Note that the code captures ...
namenlos's user avatar
  • 5,201
42 votes
4 answers
36k views

What is the best (easiest) way to take a screenshot of an running application with C++ under Windows?
mgiza's user avatar
  • 558
10 votes
1 answer
14k views

I want to render a video frame-by-frame using DirectX 10. The frames would be processed later by some other tool like mencoder or ffmpeg. I had no problems doing so in DX9 using D3DXSaveSurfaceToFile....
shinjin's user avatar
  • 3,057
6 votes
3 answers
8k views

I want to get the adpater RAM or graphics RAM which you can see in Display settings or Device manager using API. I am in C++ application. I have tried seraching on net and as per my RnD I have come ...
amritad's user avatar
  • 147
5 votes
3 answers
4k views

How to access the video memory of graphics card through OpenGL programming, specifically, to get all contents of video memory? I have tried the following two methods, but failed. With attaching them ...
loong's user avatar
  • 51
6 votes
2 answers
4k views

Is there any way for a programmer to write data directly into video memory? I know OS's are very strict about this, but then how some types of applications (like videos players or computer games) can ...
Joseph_Marzbani's user avatar
3 votes
1 answer
4k views

I have used the following code to get screen shot on Windows. hdcMem = CreateCompatibleDC (hdc) ; int cx = GetDeviceCaps (hdc, HORZRES); int cy = GetDeviceCaps (hdc, VERTRES); HBITMAP hBitmap(...
KenC's user avatar
  • 127
4 votes
2 answers
3k views

I am currently trying to take a screenshot who include mouse cursor using PIL.ImageGrab. This is my code: import ctypes, win32gui, win32ui from PIL import Image, ImageGrab size = round(ctypes.windll....
crazycat256's user avatar
3 votes
1 answer
2k views

I'm now a bit experienced with using OpenGL, which I started using because it's said that it is the only way to invoke video card functions. (besides DirectX - which I like less than OpenGL) For ...
Dennis's user avatar
  • 333
0 votes
3 answers
730 views

I'm looking for a way to read the whole video memory that a video card outputs to a display. That includes also hardware accelerated output, video playback and output in fullscreen mode (that somehow ...
crsnplusplus's user avatar
4 votes
1 answer
2k views

when I comes to rendering things on screen using video card, only three options are available, if I understand correctly. These are DirectX (or XNA) OpenGL Windows Driver Kit and creating minimal ...
user avatar