資源簡介
基于Directx的VC視頻捕獲源代碼,對于圖形編程很有參考價值

代碼片段和文件信息
//?DXCapture.cpp?:?Defines?the?class?behaviors?for?the?application.
//?Download?by?http://www.NewXing.com
#include?“stdafx.h“
#include?“DXCapture.h“
#include?“DXCaptureDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CDXCaptureApp
BEGIN_MESSAGE_MAP(CDXCaptureApp?CWinApp)
//{{AFX_MSG_MAP(CDXCaptureApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CDXCaptureApp?construction
CDXCaptureApp::CDXCaptureApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDXCaptureApp?object
CDXCaptureApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CDXCaptureApp?initialization
BOOL?CDXCaptureApp::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
CDXCaptureDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????.......??????3633??2004-04-12?10:56??www.NewXing.com\ReadMe.txt
????.......??????1553??2010-03-13?10:43??www.NewXing.com\res\【源碼說明】.txt
????.......????????66??2008-11-29?12:41??www.NewXing.com\res\源碼天空.htm
?????文件???????1466??2013-12-02?06:03??www.NewXing.com\DXCapture.h
?????文件???????1692??2013-12-02?06:03??www.NewXing.com\DXCaptureDlg.h
?????文件???????1001??2013-12-02?06:03??www.NewXing.com\resource.h
?????文件???????2032??2013-12-02?06:03??www.NewXing.com\Showpic.h
?????文件???????1092??2013-12-02?06:03??www.NewXing.com\StdAfx.h
?????文件???????2334??2013-12-02?06:03??www.NewXing.com\VMR_Capture.h
?????文件???????2140??2013-12-02?06:03??www.NewXing.com\DXCapture.cpp
?????文件???????5636??2013-12-02?06:03??www.NewXing.com\DXCaptureDlg.cpp
?????文件???????3070??2013-12-02?06:03??www.NewXing.com\Showpic.cpp
?????文件????????249??2013-12-02?06:03??www.NewXing.com\StdAfx.cpp
?????文件??????13124??2013-12-02?06:03??www.NewXing.com\VMR_Capture.cpp
????.......?????14800??2011-07-13?10:40??www.NewXing.com\Debug\Showpic.obj
????.......????105604??2011-07-13?10:40??www.NewXing.com\Debug\StdAfx.obj
????.......??????1482??2004-04-12?16:22??www.NewXing.com\DXCapture.clw
????.......??????4574??2004-04-12?16:21??www.NewXing.com\DXCapture.dsp
????.......???????543??2004-04-12?10:56??www.NewXing.com\DXCapture.dsw
????.......??????1078??2004-04-12?10:56??www.NewXing.com\res\DXCapture.ico
????.......????205824??2011-07-13?10:40??www.NewXing.com\Debug\vc60.idb
????.......???5500532??2011-07-13?10:40??www.NewXing.com\Debug\DXCapture.pch
????.......????380928??2011-07-13?10:40??www.NewXing.com\Debug\vc60.pdb
????.......??????5897??2004-04-12?15:37??www.NewXing.com\DXCapture.rc
????.......???????401??2004-04-12?10:56??www.NewXing.com\res\DXCapture.rc2
????.......??????2976??2011-07-13?10:40??www.NewXing.com\Debug\DXCapture.res
????..AD...?????????0??2011-07-13?10:44??www.NewXing.com\Debug
?????目錄??????????0??2011-07-13?10:40??www.NewXing.com\res
-----------?---------??----------?-----??----
??????????????6263727????????????????????28
............此處省略1個文件信息
- 上一篇:羅馬尼亞問題
- 下一篇:83個常見報警音wav格式
評論
共有 條評論