資源簡(jiǎn)介
OpenCv視頻采集OpenCv視頻采集OpenCv視頻采集OpenCv視頻采集OpenCv視頻采集OpenCv視頻采集

代碼片段和文件信息
//?MyCapture.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“MyCapture.h“
#include?“MyCaptureDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMyCaptureApp
BEGIN_MESSAGE_MAP(CMyCaptureApp?CWinApp)
//{{AFX_MSG_MAP(CMyCaptureApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMyCaptureApp?construction
CMyCaptureApp::CMyCaptureApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMyCaptureApp?object
CMyCaptureApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMyCaptureApp?initialization
BOOL?CMyCaptureApp::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
CMyCaptureDlg?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;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????20888??2008-11-03?11:23??MyCaptureThread\MyCapture.aps
?????文件???????1143??2008-11-03?11:32??MyCaptureThread\MyCapture.clw
?????文件???????2105??2008-10-10?16:55??MyCaptureThread\MyCapture.cpp
?????文件???????4299??2008-10-17?16:36??MyCaptureThread\MyCapture.dsp
?????文件????????526??2008-10-10?16:55??MyCaptureThread\MyCapture.dsw
?????文件???????1357??2008-10-10?16:55??MyCaptureThread\MyCapture.h
?????文件?????535040??2008-11-03?11:32??MyCaptureThread\MyCapture.opt
?????文件???????1921??2008-11-03?11:23??MyCaptureThread\MyCapture.plg
?????文件???????5330??2008-10-17?16:36??MyCaptureThread\MyCapture.rc
?????文件??????10244??2008-10-20?16:30??MyCaptureThread\MyCaptureDlg.cpp
?????文件???????1534??2008-10-17?22:36??MyCaptureThread\MyCaptureDlg.h
?????文件???????3633??2008-10-10?16:55??MyCaptureThread\ReadMe.txt
?????文件????????779??2008-10-10?22:35??MyCaptureThread\resource.h
?????文件????????211??2008-10-10?16:55??MyCaptureThread\StdAfx.cpp
?????文件???????1617??2008-10-13?10:38??MyCaptureThread\StdAfx.h
?????目錄??????????0??2008-11-03?11:32??MyCaptureThread
?????文件??????91136??2008-11-03?11:32??MyCaptureThread\MyCapture.ncb
-----------?---------??----------?-----??----
???????????????681763????????????????????17
評(píng)論
共有 條評(píng)論