Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. How to capture "What I see" in my monitor, in a Windows 7 in realtime with a really highframe rate?

How to capture "What I see" in my monitor, in a Windows 7 in realtime with a really highframe rate?

Scheduled Pinned Locked Moved COM
questionjsonhelptutorialcareer
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sinosoidal
    wrote on last edited by
    #1

    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

    _ 1 Reply Last reply
    0
    • S sinosoidal

      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

      _ Offline
      _ Offline
      _Superman_
      wrote on last edited by
      #2

      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); If hdc 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++)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups