You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			93 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			C
		
	
			
		
		
	
	
			93 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			C
		
	
| 
 | |
| // stdafx.h : 标准系统包含文件的包含文件,
 | |
| // 或是经常使用但不常更改的
 | |
| // 特定于项目的包含文件
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #ifdef _DEBUG
 | |
| //#include<vld.h>
 | |
| #endif
 | |
| 
 | |
| #pragma warning(disable:4477)
 | |
| 
 | |
| #ifndef _SECURE_ATL
 | |
| #define _SECURE_ATL 1
 | |
| #endif
 | |
| 
 | |
| #ifndef VC_EXTRALEAN
 | |
| #define VC_EXTRALEAN            // 从 Windows 头中排除极少使用的资料
 | |
| #endif
 | |
| 
 | |
| #include "targetver.h"
 | |
| 
 | |
| #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // 某些 CString 构造函数将是显式的
 | |
| 
 | |
| // 关闭 MFC 对某些常见但经常可放心忽略的警告消息的隐藏
 | |
| #define _AFX_ALL_WARNINGS
 | |
| 
 | |
| #include <afxwin.h>         // MFC 核心组件和标准组件
 | |
| #include <afxext.h>         // MFC 扩展
 | |
| #include <afxdisp.h>        // MFC 自动化类
 | |
| 
 | |
| #ifndef _AFX_NO_OLE_SUPPORT
 | |
| #include <afxdtctl.h>           // MFC 对 Internet Explorer 4 公共控件的支持
 | |
| #endif
 | |
| #ifndef _AFX_NO_AFXCMN_SUPPORT
 | |
| #include <afxcmn.h>             // MFC 对 Windows 公共控件的支持
 | |
| #endif // _AFX_NO_AFXCMN_SUPPORT
 | |
| 
 | |
| #include <afxcontrolbars.h>     // 功能区和控件条的 MFC 支持
 | |
| #include <afxsock.h>            // MFC 套接字扩展
 | |
| #include "resource.h"
 | |
| #include "EncryptionMgr.h"
 | |
| 
 | |
| //#define __PROGRAM_SHILAN_TUIHUO__  //杭州士兰激光退火
 | |
| //#define __PROGRAM_GUIYANG_ZIWAI__  //贵阳永光紫外切割机
 | |
| 
 | |
| //一些控制的开关
 | |
| //#define __DLG_PANE_OBJ_LIST__ //对象列表
 | |
| //#define __DLG_PANE_WORK_TIME__//工作时间
 | |
| //#define __DLG_PANE_SIMULATE_TRACE__//轨迹模拟
 | |
| //#define __DLG_PANE_STD_MARK_CTRL__//标准标刻控制
 | |
| //#define  __DLG_PANE_CMD__//命令
 | |
| #define __DLG_PANE_MARK_PAR__//振镜参数
 | |
| //#define __DLG_PANE_VAR_STRING__//字符属性
 | |
| //#define __CAPTION_BAR__ //标题栏
 | |
| #define __DLG_PANE_PLATFORM__//平台控制
 | |
| #define __DLG_PANE_TEST__//调试窗口
 | |
| //#define __TBAR_CODE__//tbarcode 二维码控件(如果要使用要在test dlg 添加tbarcode5 控件)
 | |
| 
 | |
| 
 | |
| #define __LPS_IS3000__ //乐山LPS IS 3000 光检机
 | |
| #define __RUN_AT_DEVICE__ //代码在设备上运行
 | |
| 
 | |
| 
 | |
| #define __FINGER_PRINT_CUT__ //指纹芯片切割
 | |
| 
 | |
| #define __HAWKVIS_MINDVISION_CCD__   //霍克使用mindvision 的相机
 | |
| //#define __READ_LASER_DEVICE_INFO__ //是否实时读取激光器的信息
 | |
| #define __USE_SUPER_DOG__    //是否使用 加密狗
 | |
| //#define __PROGRESS_DLG__   //是否显示进度条对话框
 | |
| #define __CUSTOM_SW_XL__     //客户:汕尾信利
 | |
| 
 | |
| #define CUSTOM_TXD_2_XL     //同兴达改信利
 | |
| 
 | |
| //#define  USE_Virtual_CCD_DATA       //使用虚拟(自定义的)CCD数据
 | |
| #define	_USE_LAIPU_SUPERDOG	//使用莱普加密狗
 | |
| //#define    Create_MarkPos_MarkData   //生成每个区域的加工位置文本文件;生成最后一个区域的打印数据文本文件
 | |
| 
 | |
| extern bool gExitApp;
 | |
| 
 | |
| #ifdef _UNICODE
 | |
| #if defined _M_IX86
 | |
| #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
 | |
| #elif defined _M_X64
 | |
| #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
 | |
| #else
 | |
| #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
 | |
| #endif
 | |
| #endif
 | |
| 
 | |
| 
 |