How to capture "What I see" in my monitor, in a Windows 7 in realtime with a really highframe rate?
-
Hi, I need to capture the whole desktop frame buffer, process it and then have it displayed again or streamed. The first questions is really how do I capture the DWM final result of the composition as an image? Do I need to go down level to the driver layer? OR is there any API that could help me with this? How does VNC does the job? Can DWM help me directly on this? If anyone could give me a tip here, that would be wonderfull. Thanks, With my best regards, Nuno
-
Hi, I need to capture the whole desktop frame buffer, process it and then have it displayed again or streamed. The first questions is really how do I capture the DWM final result of the composition as an image? Do I need to go down level to the driver layer? OR is there any API that could help me with this? How does VNC does the job? Can DWM help me directly on this? If anyone could give me a tip here, that would be wonderfull. Thanks, With my best regards, Nuno
Wrong forum to post this question. Anyway, desktop sharing tools like VNC are not very easy to implement. Basically they split the screen into various sections and only stream the sections that have changed. You can capture the entire screen using the API
HDC hdc = ::CreateDC("DISPLAY", 0, 0, 0);
Ifhdc
is saved to a file you can see the captured screen. There could also be many other ways to do it.«_Superman_» I love work. It gives me something to do between weekends.
Microsoft MVP (Visual C++)