-
大小: 1.87MB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2023-10-12
- 語言: 其他
- 標(biāo)簽: 大恒??DH??HV1351UM-ML??保存??
資源簡介
利用大恒DH-HV1351UM-ML數(shù)字?jǐn)z像機設(shè)備進行單幀圖像采集保存,VC單文檔,源代碼和程序,大恒DH-HV1351UM-ML數(shù)字?jǐn)z像機usblib和頭文件

代碼片段和文件信息
//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//
#include?“stdafx.h“
#include?“WebCamera.h“
#include?“MainFrm.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMainframe
IMPLEMENT_DYNCREATE(CMainframe?CframeWnd)
BEGIN_MESSAGE_MAP(CMainframe?CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code?!
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
static?UINT?indicators[]?=
{
ID_SEPARATOR???????????//?status?line?indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?construction/destruction
CMainframe::CMainframe()
{
//?TODO:?add?member?initialization?code?here
}
CMainframe::~CMainframe()
{
}
int?CMainframe::OnCreate(LPCREATESTRUCT?lpCreateStruct)
{
if?(CframeWnd::OnCreate(lpCreateStruct)?==?-1)
return?-1;
if?(!m_wndToolBar.CreateEx(this?TBstyle_FLAT?WS_CHILD?|?WS_VISIBLE?|?CBRS_TOP
|?CBRS_GRIPPER?|?CBRS_TOOLTIPS?|?CBRS_FLYBY?|?CBRS_SIZE_DYNAMIC)?||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed?to?create?toolbar\n“);
return?-1;??????//?fail?to?create
}
if?(!m_wndStatusBar.Create(this)?||
!m_wndStatusBar.SetIndicators(indicators
??sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed?to?create?status?bar\n“);
return?-1;??????//?fail?to?create
}
//?TODO:?Delete?these?three?lines?if?you?don‘t?want?the?toolbar?to
//??be?dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);
return?0;
}
BOOL?CMainframe::PreCreateWindow(CREATESTRUCT&?cs)
{
if(?!CframeWnd::PreCreateWindow(cs)?)
return?FALSE;
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs
return?TRUE;
}
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?diagnostics
#ifdef?_DEBUG
void?CMainframe::AssertValid()?const
{
CframeWnd::AssertValid();
}
void?CMainframe::Dump(CDumpContext&?dc)?const
{
CframeWnd::Dump(dc);
}
#endif?//_DEBUG
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?message?handlers
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????127043??2012-07-18?00:47??WebCamera\Bin\WebCamera.exe
?????文件?????329044??2012-07-18?00:47??WebCamera\Bin\WebCamera.ilk
?????文件??????20112??2012-07-18?00:45??WebCamera\Debug\MainFrm.obj
?????文件?????105831??2012-07-18?00:45??WebCamera\Debug\StdAfx.obj
?????文件?????214016??2012-07-18?00:47??WebCamera\Debug\vc60.idb
?????文件?????372736??2012-07-18?00:47??WebCamera\Debug\vc60.pdb
?????文件??????23834??2012-07-18?00:45??WebCamera\Debug\WebCamera.obj
?????文件????5511772??2012-07-18?00:45??WebCamera\Debug\WebCamera.pch
?????文件?????345088??2012-07-18?00:47??WebCamera\Debug\WebCamera.pdb
?????文件???????7548??2012-07-18?00:45??WebCamera\Debug\WebCamera.res
?????文件??????26858??2012-07-18?00:47??WebCamera\Debug\WebCameraDoc.obj
?????文件??????20575??2012-07-18?00:45??WebCamera\Debug\WebCameraView.obj
?????文件???????2523??2010-05-24?14:18??WebCamera\Include\DH\HVDAILT.h
?????文件???????9841??2010-05-24?14:18??WebCamera\Include\DH\HVDef.h
?????文件????????856??2010-05-24?14:18??WebCamera\Include\DH\HVUtil.h
?????文件???????3385??2010-05-24?14:18??WebCamera\Include\DH\Raw2Rgb.h
?????文件??????11048??2010-05-24?14:18??WebCamera\Lib\DH\HVDAILT.lib
?????文件???????2134??2010-05-24?14:18??WebCamera\Lib\DH\HVUtil.lib
?????文件???????4706??2010-05-24?14:18??WebCamera\Lib\DH\Raw2Rgb.lib
?????文件???????2510??2012-07-18?00:14??WebCamera\MainFrm.cpp
?????文件???????1581??2012-07-18?00:14??WebCamera\MainFrm.h
?????文件???????4383??2012-07-18?00:14??WebCamera\ReadMe.txt
?????文件???????1198??2012-07-18?00:45??WebCamera\res\Toolbar.bmp
?????文件???????1078??2012-07-18?00:14??WebCamera\res\WebCamera.ico
?????文件????????401??2012-07-18?00:14??WebCamera\res\WebCamera.rc2
?????文件???????1078??2012-07-18?00:14??WebCamera\res\WebCameraDoc.ico
?????文件????????643??2012-07-18?00:45??WebCamera\resource.h
?????文件????????211??2012-07-18?00:14??WebCamera\StdAfx.cpp
?????文件???????1054??2012-07-18?00:14??WebCamera\StdAfx.h
?????文件??????44352??2012-07-18?00:45??WebCamera\WebCamera.aps
............此處省略24個文件信息
- 上一篇:利用OpenInventorCoin3d讀取點云并顯示
- 下一篇:opengl庫文件
評論
共有 條評論