twain3.0/huagao/stdafx.h

84 lines
4.6 KiB
C
Raw Normal View History

<EFBFBD><EFBFBD>// stdafx.h : h<EFBFBD>Q<EFBFBD>|<EFBFBD>~S+T<EFBFBD>e<EFBFBD>N<EFBFBD>vS+T<EFBFBD>e<EFBFBD>N <EFBFBD>
// b/f<EFBFBD>~8^O(uFO N8^<EFBFBD>f9e<EFBFBD>v
// yr<EFBFBD>[<EFBFBD>Ny<EFBFBD><EFBFBD>v<EFBFBD>vS+T<EFBFBD>e<EFBFBD>N
#pragma once
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // <EFBFBD>N Windows 4Y-N<EFBFBD>cd<EFBFBD><EFBFBD>g\O(u<EFBFBD>vD<EFBFBD><EFBFBD>e
#endif
#include "targetver.h"
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // <EFBFBD>g<EFBFBD>N CString <EFBFBD>g <EFBFBD><EFBFBD>Qpe\/f>f_<EFBFBD>v
#include <afxwin.h> // MFC 8h<EFBFBD>_<EFBFBD>~<EFBFBD>N<EFBFBD>Th<EFBFBD>Q<EFBFBD>~<EFBFBD>N
#include <afxext.h> // MFC ibU\
#ifndef _AFX_NO_OLE_SUPPORT
#include <afxole.h> // MFC OLE {|
#include <afxodlgs.h> // MFC OLE <EFBFBD>[݋Fh{|
#include <afxdisp.h> // MFC RS{|
#endif // _AFX_NO_OLE_SUPPORT
#ifndef _AFX_NO_DB_SUPPORT
#include <afxdb.h> // MFC ODBC penc<EFBFBD>^{|
#endif // _AFX_NO_DB_SUPPORT
#ifndef _AFX_NO_DAO_SUPPORT
#include <afxdao.h> // MFC DAO penc<EFBFBD>^{|
#endif // _AFX_NO_DAO_SUPPORT
#ifndef _AFX_NO_OLE_SUPPORT
#include <afxdtctl.h> // MFC <EFBFBD>[ Internet Explorer 4 lQqQ<EFBFBD>c<EFBFBD>N<EFBFBD>v/ec
#endif
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC <EFBFBD>[ Windows lQqQ<EFBFBD>c<EFBFBD>N<EFBFBD>v/ec
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <afxwin.h>
#include <afxcontrolbars.h>
#include <afxcontrolbars.h>
//#include <boost\thread\win32\mfc_thread_init.hpp>
//#ifdef HUAGAO_VER
#define COMPANY_NAME TEXT("NSؚ")
#define PRODUCT_NAME TEXT("ؚ<1F>kb<6B>c<EFBFBD>N")
#define SCANNERNAME L"Hi-1050"
2020-04-03 01:31:18 +00:00
#define TWAIN_NAME L"HUAGOSCAN TWAIN"
#define HG_VERSION_INFO L"HUAGOSCAN Driver Version 3.3.2.0"
#ifndef HUAGAO_SCAN
#define HUAGAO_SCAN TEXT("\\HuaGao Technology")
#endif
#ifndef TWAIN_INIPATH
#define TWAIN_INIPATH TEXT("\\TWAIN")
#endif //TWAIN_INIPATH
#ifndef TWAIN_DATA_PATH
#define TWAIN_DATA_PATH TEXT("\\DATA")
#endif //TWAIN_DATA_PATH
#ifndef TWAIN_ERROR_PATH
#define TWAIN_ERROR_PATH TEXT("\\ERRORLOG\\")
#endif // !TWAIN_ERROR_PATH
#ifndef TWAIN_ERROR_LOG_NAME
#define TWAIN_ERROR_LOG_NAME TEXT("errorlog.txt")
#endif // !TWAIN_ERROR_LOG_NAME
#ifndef TWAIN_JSON_NAME
#define TWAIN_JSON_NAME TEXT("Default.json")
#endif //TWAIN_INI_NAME
#ifndef TWAIN_JSON_PATH
#define TWAIN_JSON_PATH TEXT("\\HuaGao Technology\\TWAIN\\Default.json")
#endif
#ifndef CHM_DEFAULT_PATH
#define CHM_DEFAULT_PATH TEXT("/twain_32/HuaGoScan/HuaGoScan TWAIN_Cs.chm")
#endif
//#endif /*HUAGAO_VER*/
static const int kMaxInfoBuffer = 256;
#define GBYTES 1073741824
#define MBYTES 1048576
#define KBYTES 1024
#define DKBYTES 1024.0