page_type, languages, products, name, urlFragment, extendedZipContent, description
| page_type |
languages |
products |
name |
urlFragment |
extendedZipContent |
description |
| sample |
|
|
MFCaptureToFile sample |
mfcapturetofile |
| path |
target |
| LICENSE |
LICENSE |
|
|
This sample demonstrates how to capture video from camera to a file. |
MFCaptureToFile sample
Demonstrates how to capture video from camera to a file.
Sample Language Implementations
C++
Files
capture.cpp
capture.h
maindialog.cpp
maindialog.h
MFCaptureToFile.rc
MFCaptureToFile.sln
MFCaptureToFile.vcproj
readme.txt
resource.h
stdafx.h
winmain.cpp
To build the sample using the command prompt
- Open the Command Prompt window and navigate to the MFCaptureToFile directory.
- Type msbuild MFCaptureToFile.sln.
To build the sample using Visual Studio (preferred method)
- Open Windows Explorer and navigate to the MFCaptureToFile directory.
- Double-click the icon for the MFCaptureToFile.sln file to open the file in Visual Studio.
- In the Build menu, select Build Solution. The application will be built in the default \Debug or \Release directory.
To run the sample
- Navigate to the directory that contains the new executable using the command prompt or Windows Explorer.
- Type MFCaptureToFile.exe at the command line, or double-click the icon for MFCaptureToFile.exe to launch it from Windows Explorer.