C++ VC6.0 MFC 调用 twain 接口采集图像
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 20680 2013-09-10 16:41 CTwainCTwain.aps
文件 1075 2013-09-10 16:46 CTwainCTwain.clw
文件 2101 2013-10-28 15:19 CTwainCTwain.cpp
文件 4420 2013-05-08 10:05 CTwainCTwain.dsp
文件 537 2013-05-07 17:11 CTwainCTwain.dsw
文件 1324 2013-05-07 17:11 CTwainCTwain.h
文件 156672 2013-10-09 17:23 CTwainCTwain.ncb
文件 477184 2013-10-09 17:23 CTwainCTwain.opt
文件 246 2013-10-09 16:21 CTwainCTwain.plg
文件 5196 2013-05-08 09:08 CTwainCTwain.rc
文件 16509 2013-10-28 15:20 CTwainCTwainDlg.cpp
文件 3408 2013-05-08 09:46 CTwainCTwainDlg.h
文件 30 2013-08-29 17:29 CTwainDebugcpi.ini
文件 131145 2013-09-23 16:43 CTwainDebugCTwain.exe
文件 322432 2013-09-23 16:43 CTwainDebugCTwain.ilk
文件 14930 2013-08-29 17:28 CTwainDebugCTwain.obj
文件 5493084 2013-05-08 09:04 CTwainDebugCTwain.pch
文件 484352 2013-09-23 16:43 CTwainDebugCTwain.pdb
文件 14543 2013-09-23 16:44 CTwainDebugCTwain.rar
文件 2484 2013-05-08 09:08 CTwainDebugCTwain.res
文件 61200 2013-09-23 16:43 CTwainDebugCTwainDlg.obj
文件 58935 2013-05-08 09:04 CTwainDebugDIB.obj
文件 16597 2013-08-29 17:28 CTwainDebugini.obj
文件 105883 2013-05-08 09:04 CTwainDebugStdAfx.obj
文件 14536171 2013-09-23 16:43 CTwainDebug wain.rar
文件 222208 2013-10-09 16:21 CTwainDebugvc60.idb
文件 372736 2013-09-23 16:43 CTwainDebugvc60.pdb
文件 20520 2013-10-28 15:19 CTwainDIB.cpp
文件 3095 2013-05-06 10:32 CTwainDIB.h
文件 2953 2013-10-28 15:20 CTwainini.cpp
............此处省略17个文件信息
// CTwain.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “CTwain.h“
#include “CTwainDlg.h“
#include “DIB.h“
#include “INI.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCTwainApp
BEGIN_MESSAGE_MAP(CCTwainApp CWinApp)
//{{AFX_MSG_MAP(CCTwainApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CCTwainApp construction
CCTwainApp::CCTwainApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCTwainApp object
CCTwainApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCTwainApp initialization
BOOL CCTwainApp::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
CCTwainDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 20680 2013-09-10 16:41 CTwainCTwain.aps
文件 1075 2013-09-10 16:46 CTwainCTwain.clw
文件 2101 2013-10-28 15:19 CTwainCTwain.cpp
文件 4420 2013-05-08 10:05 CTwainCTwain.dsp
文件 537 2013-05-07 17:11 CTwainCTwain.dsw
文件 1324 2013-05-07 17:11 CTwainCTwain.h
文件 156672 2013-10-09 17:23 CTwainCTwain.ncb
文件 477184 2013-10-09 17:23 CTwainCTwain.opt
文件 246 2013-10-09 16:21 CTwainCTwain.plg
文件 5196 2013-05-08 09:08 CTwainCTwain.rc
文件 16509 2013-10-28 15:20 CTwainCTwainDlg.cpp
文件 3408 2013-05-08 09:46 CTwainCTwainDlg.h
文件 30 2013-08-29 17:29 CTwainDebugcpi.ini
文件 131145 2013-09-23 16:43 CTwainDebugCTwain.exe
文件 322432 2013-09-23 16:43 CTwainDebugCTwain.ilk
文件 14930 2013-08-29 17:28 CTwainDebugCTwain.obj
文件 5493084 2013-05-08 09:04 CTwainDebugCTwain.pch
文件 484352 2013-09-23 16:43 CTwainDebugCTwain.pdb
文件 14543 2013-09-23 16:44 CTwainDebugCTwain.rar
文件 2484 2013-05-08 09:08 CTwainDebugCTwain.res
文件 61200 2013-09-23 16:43 CTwainDebugCTwainDlg.obj
文件 58935 2013-05-08 09:04 CTwainDebugDIB.obj
文件 16597 2013-08-29 17:28 CTwainDebugini.obj
文件 105883 2013-05-08 09:04 CTwainDebugStdAfx.obj
文件 14536171 2013-09-23 16:43 CTwainDebug wain.rar
文件 222208 2013-10-09 16:21 CTwainDebugvc60.idb
文件 372736 2013-09-23 16:43 CTwainDebugvc60.pdb
文件 20520 2013-10-28 15:19 CTwainDIB.cpp
文件 3095 2013-05-06 10:32 CTwainDIB.h
文件 2953 2013-10-28 15:20 CTwainini.cpp
............此处省略17个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)