|
SimpleCapture Sample
================================
Demonstrates how to preview video from a capture device using Media Foundation.
Sample Language Implementations
===============================
C++
Files:
=============================================
Preview.cpp
Preview.h
readme.txt
resource.h
SimpleCapture.rc
SimpleCapture.sln
SimpleCapture.vcproj
winmain.cpp
To build the sample using the command prompt:
=============================================
1. Open the Command Prompt window and navigate to the SimpleCapture directory.
2. Type msbuild SimpleCapture.sln.
To build the sample using Visual Studio (preferred method):
===========================================================
1. Open Windows Explorer and navigate to the SimpleCapture directory.
2. Double-click the icon for the SimpleCapture.sln file to open the file in Visual Studio.
3. In the Build menu, select Build Solution. The application will be built in the default \Debug or \Release directory.
To run the sample:
=================
1. Navigate to the directory that contains the new executable, using the command prompt or Windows Explorer.
2. Type SimpleCapture.exe at the command line, or double-click the icon for SimpleCapture.exe to launch it from Windows Explorer.
|
By viewing downloads associated with this article you agree to the Terms of Service 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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.