123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- // 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__D3E3BA89_EEFA_11D5_AB1C_00D0B70C3D79__INCLUDED_)
- #define AFX_STDAFX_H__D3E3BA89_EEFA_11D5_AB1C_00D0B70C3D79__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 <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
- #include <afxdb.h> // MFC ODBC database classes
- #include <afxmt.h>
- #include <afxsock.h> // MFC socket extensions
- #include "Shlwapi.h"
- #include <afxtempl.h>
- #include <shlobj.h>
- #include "shfolder.h"
- #include <afxtempl.h> // MFC 模板类
- #include "Global.h"
- //#define BASIC_VERSION //简易版,只有流程
- #define MSG_LENGTH 64
- #define TIMEDOG_VERSION//时钟狗
- #define SQLSERVER_VERSION //MS SQL版本
- //...........................
- //#define LKAY_VERSION //靓康爱婴
- #define LYFZ_VERSION //内部版本
- //...........................
- //#define CONNCOUNT_VERSION //座席版
- // #define CHILD_VERSION //儿童版
- //#define ENTERPRISE_VERSION //企业版
- //...........................
- // 儿童版有三个版本:
- // 1.只开启CHILD_VERSION宏,就是儿童全能版;
- // 2.开启CHILD_VERSION + CONNCOUNT_VERSION :儿童座席版;
- // 3.开启CHILD_VERSION + ENTERPRISE_VERSION:儿童企业版;
- // 婚纱版:
- // 1.全部宏关闭,就是婚纱全能版;
- // 2.只开启CONNCOUNT_VERSION,就是婚纱座席版;
- // 3.只开启ENTERPRISE_VERSION,就是婚纱企业版;
- #include "MD5.h"
- #include "filehelp.h"
- #include <string>
- #include <vector>
- using namespace std;
- // ----stat头文件;
- #include <sys/types.h>
- #include <sys/stat.h>
- // ----stat头文件;
- #include "Tblrenyuan.h"
- #include "Tblaccountview.h"
- #include "Tbldindan.h"
- #include "Tblreceipt_item.h"
- #include "TblService_tracking_record.h"
- #include "Tbllog.h"
- #include "remote_commodity.h"
- #include "remote_commodity_problem.h"
- #include "remote_service.h"
- #include "remote_services.h"
- #define FTPSTAT_DOWNLOADSUCCEEDED 2
- #define FTPSTAT_UPLOADSUCCEEDED 3
- #define FTPSTAT_DOWNLOADFAILED 4
- #define FTPSTAT_UPLOADFAILED 5
- #define WM_THREADSTART WM_USER+200
- #define WM_THREADCLOSE WM_USER+201
- #define WM_THREADMSG WM_USER+202
- #define WM_ADDTRACELINE WM_USER+203
- extern CString BrowseForFolder(HWND hWnd, LPCSTR lpszTitle, UINT nFlags);
- extern void DoEvents();
- extern void GetAppDir(CString& strAppDir);
- extern BOOL WaitWithMessageLoop(HANDLE hEvent, int nTimeout);
- PFNSHGETFOLDERPATHA GetFuncPtr_SHGetFolderPathA();
- extern HRESULT CreateStartMenuShortcut(LPSTR lpszShortcutFile, LPSTR lpszDescription, LPTSTR lpszRelativeFolder);
- extern void RemoveStartMenuShortcut(LPSTR lpszDescription, LPTSTR lpszRelativeFolder);
- extern CString GetShortcutTarget(LPCTSTR lpszFilename);
- void AutoSizeColumns(CListCtrl *pListCtrl);
- BOOL MakeSureDirectoryPathExists(LPCTSTR lpszDirPath);
- BOOL IsNumeric(char *buff);
- #endif
|