Click here to Skip to main content
Click here to Skip to main content

Various methods for capturing the screen

By , 19 Sep 2006
 
screencap.zip
ScreenCap
ico00001.ico
icon1.ico
Release
ScreenCap.exe
ScreenCap.ico
ScreenCap.vcproj.vspscc
ScreenCap.vssscc
small.ico
screencapdx.zip
ScreenCapDx
ico00001.ico
icon1.ico
Release
ScreenCapture.exe
ScreenCapture.7.10.vssscc
ScreenCapture.ico
ScreenCapture.vcproj.vspscc
ScreenCapture.vssscc
small.ico
wmencscrncap.zip
ico00001.ico
icon_sta.ico
icon1.ico
Release
WMEncScrnCap.exe
small.ico
WMEncScrnCap.ico
Screen Capture: This application captuers the contents of the screen using DirectX. Start the application and click anywhere on the client area - the screen at that moment would be captured and saved to file Desktop.bmp

This Capturing Uses the FrontBuffer of the DirectX Application to get the content of the Screen.

By design, the Front Buffer accessing is slow - and can not be used in performance critical applications.

And also this capturing technique doesnot capture the mouse.

However the content quality produced would be good with the MPG4 codec.

For performance applications try considering the WindowsMediaEncoderAPI.

WindowsMediaEncoderAPI includes a ScreenCapture Codec and can give optimal results - and also captures the mouse.

By viewing downloads associated with this article you agree to the Terms of use and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)

About the Author

Gopalakrishna Palem
India India
Member
Creator of CFugue Runtime Environment for MusicNote Programming in C++

Permalink | Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 19 Sep 2006
Article Copyright 2003 by Gopalakrishna Palem
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid