// 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 // MFC core and standard components #include // MFC extensions #include // MFC Automation classes #include // MFC support for Internet Explorer 4 Common Controls #ifndef _AFX_NO_AFXCMN_SUPPORT #include // MFC support for Windows Common Controls #endif // _AFX_NO_AFXCMN_SUPPORT #ifndef _AFX_NO_DB_SUPPORT #include // 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 BASIC_VERSION //简易版,只有流程 //#define BASIC_ADDMEMBER //简易版加会员功能 //#define BASIC_ADDPHONE //简易版加客户管理和来电精灵 //#define BASIC_ADDDRESS //简易版加礼服管理 //#define NOCALCOST //不要成本核算 //.................................................... //#define ZHIAI_VERSION //挚爱 //#define MNLS_VERSION //mnls //#define SZBLCT_VERSION //深圳巴黎春天 //#define SZWNS_VERSION //深圳维纳斯 // #define QCH_VERSION //七彩虹 // #define LKAY_VERSION //靓康爱婴 //#define DDF_VERSION //多多福 //#define SUNRAIN_VERSION //新疆太阳雨 // #define LYFZ_VERSION //内部版本 //.............................................. //#define CHILD_VERSION //儿童版 #define ENTERPRISE_VERSION //企业版 //.............................................. // 客户端不分座席版与全能版, 但区分企业版与全能版; // 婚纱版: // 1.关闭全部宏,就是婚纱全能版; // 2.只开启ENTERPRISE_VERSION,就是婚纱企业版; // 儿童版: // 1.只开启CHILD_VERSION,就是儿童全能版; // 2.只开启CHILD_VERSION+ENTERPRISE_VERSION,就是儿童企业版 // 3.开启CHILD_VERSION+ENTERPRISE_VERSION+DDF_VERSION,多多福儿童集团版 // 另:每次升级版本时,只能从升级包中升级,否则会产生客户端连接服务端时失败的现象; #ifndef NEW_SKIN #define MyFormView CFormView #endif #include // 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" #include "SQLStatementImpl.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 "Global/Global.h" #ifndef SQLITE_CORE #define SQLITE_CORE #endif #include ".\SQLite\sqlite3.h" #include ".\SQLite\sqlite3ext.h" #pragma comment(lib, ".\\lib\\SQLite3.lib") #define USE_NETSHAREINFO_FUN 0 // 是否使用多级共享目录功能; #endif // !defined(AFX_STDAFX_H__F330509F_7C84_4EBA_BB51_E484B3390820__INCLUDED_)