资源简介
适用于初学者,vc使用vfw控制摄像头拍照,且程序运行后5秒钟自动拍照,已编译好,可以直接运行,凑够50个字

代码片段和文件信息
// CapVideo.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “CapVideo.h“
#include “CapVideoDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCapVideoApp
BEGIN_MESSAGE_MAP(CCapVideoApp CWinApp)
//{{AFX_MSG_MAP(CCapVideoApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCapVideoApp construction
CCapVideoApp::CCapVideoApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCapVideoApp object
CCapVideoApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCapVideoApp initialization
BOOL CCapVideoApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CCapVideoDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 35864 2012-11-08 09:25 CapVideo\CapVideo.aps
文件 1163 2012-11-08 09:25 CapVideo\CapVideo.clw
文件 2091 2012-11-05 09:39 CapVideo\CapVideo.cpp
文件 4276 2012-11-08 09:22 CapVideo\CapVideo.dsp
文件 522 2012-11-05 09:39 CapVideo\CapVideo.dsw
文件 1346 2012-11-05 09:39 CapVideo\CapVideo.h
文件 58368 2012-11-08 09:26 CapVideo\CapVideo.ncb
文件 84992 2012-11-08 09:26 CapVideo\CapVideo.opt
文件 252 2012-11-08 09:26 CapVideo\CapVideo.plg
文件 5644 2012-11-08 09:25 CapVideo\CapVideo.rc
文件 7882 2012-11-08 09:25 CapVideo\CapVideoDlg.cpp
文件 1429 2012-11-05 14:08 CapVideo\CapVideoDlg.h
文件 4129792 2012-11-07 09:07 CapVideo\Debug\CapVideo.bsc
文件 110646 2012-11-07 09:07 CapVideo\Debug\CapVideo.exe
文件 228148 2012-11-07 09:07 CapVideo\Debug\CapVideo.ilk
文件 13001 2012-11-05 14:08 CapVideo\Debug\CapVideo.obj
文件 7014476 2012-11-05 09:51 CapVideo\Debug\CapVideo.pch
文件 394240 2012-11-07 09:07 CapVideo\Debug\CapVideo.pdb
文件 2824 2012-11-05 17:27 CapVideo\Debug\CapVideo.res
文件 0 2012-11-05 14:08 CapVideo\Debug\CapVideo.sbr
文件 40004 2012-11-07 09:07 CapVideo\Debug\CapVideoDlg.obj
文件 0 2012-11-07 09:07 CapVideo\Debug\CapVideoDlg.sbr
文件 105581 2012-11-05 09:51 CapVideo\Debug\StdAfx.obj
文件 1374926 2012-11-05 09:51 CapVideo\Debug\StdAfx.sbr
文件 230400 2012-11-07 09:07 CapVideo\Debug\vc60.idb
文件 397312 2012-11-07 09:07 CapVideo\Debug\vc60.pdb
文件 3615 2012-11-05 09:39 CapVideo\ReadMe.txt
文件 3826688 2012-11-08 09:25 CapVideo\Release\CapVideo.bsc
文件 20480 2012-11-08 09:25 CapVideo\Release\CapVideo.exe
文件 8817 2012-11-08 09:12 CapVideo\Release\CapVideo.obj
............此处省略20个文件信息
相关资源
- AsyncTask文件控制暂停和继续,在状态
- DV泵加罗茨泵独立控制系统PID.smart
- F28335无刷直流电机开闭环控制
- 模糊PID控制 c
- 基于MSP430G2553的蓝牙控制小车
- Verilog FPGA UART串口控制器
- Windows异步套接字网络编程
- VC 获得文件属性 获取文件的创建时
- 基于MVC模式的会员管理系统
- silicon lab公司的收音IC SI47XX全套开发工
- 读者写者问题(读者优先,写者优先
- MFC程序-碰撞的小球
- vc 柱形图 CBarChart
- 用vc 写的导线测量,针对刚学测绘的
- 用VC 编写的仿QQ聊天室程序源代码
- 栅栏填充算法源码(VC)
- SG3525频率PWM控制均可调模块
- 51单片机控制舵机程序
- Qt Creator opengl实现四元数鼠标控制轨迹
- 机器人单机械臂滑模控制程序
- 简单的房屋租赁系统
- ply格式文件的读写程序
- .net网站服装销售系统(MVC)
- [免费]msp430f149控制PS2键盘并用1602显示
- STM32F103RBT6驱动UC1698控制芯片的160160黑
- vhdl与lcd1602实现的多控制电子钟
- 欧姆龙控制2个伺服
- 远程桌面(带C 源码)
-
ob
jectARX给Auto CAD加工具条 - blowfish的vc2008工程.rar
评论
共有 条评论