123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- // stdafx.h : include file for standard system include files,
- // or project specific include files that are used frequently, but
- // are changed infrequently
- //
- #if !defined(AFX_STDAFX_H__F330509F_7C84_4EBA_BB51_E484B3390820__INCLUDED_)
- #define AFX_STDAFX_H__F330509F_7C84_4EBA_BB51_E484B3390820__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
- #include <afxwin.h> // MFC core and standard components
- #include <afxext.h> // MFC extensions
- #include <afxdisp.h> // MFC Automation classes
- #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
- #ifndef _AFX_NO_AFXCMN_SUPPORT
- #include <afxcmn.h> // MFC support for Windows Common Controls
- #endif // _AFX_NO_AFXCMN_SUPPORT
- #ifndef _AFX_NO_DB_SUPPORT
- #include <afxdb.h> // MFC ODBC database classes
- #endif // _AFX_NO_DB_SUPPORT
- #include "NeroAPIGlue.h"
- #include "ThemidaSDK.h"
- #pragma warning(disable:4786)
- #define SQLSERVER_VERSION //MS SQL版本
- #define SETPOINT 1
- #define ADD_LOGIN //加指纹功能
- //#define TEST_LOCAL 1 //用于本机测试
- #define NEW_SKIN //新界面
- #define MSG_LENGTH 64
- #define REPL_TITLE //可替换标题
- #define LYFZ_VERSION //内部版本
- // 客户端不分座席版与全能版, 但区分企业版与全能版;
- // 婚纱版:
- // 1.关闭全部宏,就是婚纱全能版;
- // 2.只开启ENTERPRISE_VERSION,就是婚纱企业版;
- // 儿童版:
- // 1.只开启CHILD_VERSION,就是儿童全能版;
- // 2.只开启CHILD_VERSION+ENTERPRISE_VERSION,就是儿童企业版
- // 另:每次升级版本时,只能从升级包中升级,否则会产生客户端连接服务端时失败的现象;
- #ifndef NEW_SKIN
- #define MyFormView CFormView
- #endif
- #include <afxtempl.h> // MFC 模板类
- #include "Shlwapi.h"
- #include ".\list\SortHeaderCtrl2.h"
- #include ".\list\SortListCtrl3.h"
- #include ".\list\SortListCtrl2.h"
- #include "MyFormView.h"
- #include "NumEdit.h"
- #include "DateEdit.h"
- #define BMP_NORMAL 0x00000001L
- #define BMP_FOCUS 0x00000002L
- #define BMP_FOCUSED 0x00000004L
- #define BMP_DISABLE 0x00000008L
- #define BMP_FLASH 0x00000010L
- #include "ImageStone.h"
- #include "FCMemDC.h"
- // color convert ------------------------------------------------------------
- inline RGBQUAD RGBtoRGBQUAD (COLORREF color)
- {
- RGBQUAD rgb = {GetBValue(color), GetGValue(color), GetRValue(color), (BYTE)(color>>24)} ;
- return rgb ;
- }
- inline COLORREF RGBQUADtoRGB (RGBQUAD rgb)
- {
- return RGB (rgb.rgbRed, rgb.rgbGreen, rgb.rgbBlue) ;
- }
- //GDI+
- #ifndef ULONG_PTR
- #define ULONG_PTR unsigned long*
- #endif
- #include "MD5.h"
- #include "Global/Global.h"
- #include "SQLStatementImpl.h"
- #include ".\\includes\\gdiplus.h" ////请修改为你的头文件路径
- using namespace Gdiplus;
- #pragma comment(lib, ".\\lib\\gdiplus.lib") ////请修改为你的.lib文件路径
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #ifdef VC80
- #pragma comment(linker, "\"/manifestdependency:type='Win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='X86' publicKeyToken='1fc8b3b9a1e18e3b' language='*'\"")
- #endif
- #ifdef VC90
- #pragma comment(linker, "\"/manifestdependency:type='Win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='X86' publicKeyToken='1fc8b3b9a1e18e3b' language='*'\"")
- #endif
- //#pragma comment(lib, "legacy_stdio_definitions.lib")
- #include "Dal.h"
- #endif // !defined(AFX_STDAFX_H__F330509F_7C84_4EBA_BB51_E484B3390820__INCLUDED_)
|