// 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__DE43A14C_D8D5_498F_AA94_3F995CDE6728__INCLUDED_) #define AFX_STDAFX_H__DE43A14C_D8D5_498F_AA94_3F995CDE6728__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #define _CRT_SECURE_NO_WARNINGS //·ÀÖ¹Warnings³öÏÖ #define _CRT_NON_CONFORMING_SWPRINTFS //·ÀÖ¹Warnings³öÏÖ #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 #include <afxsock.h> // MFC socket extensions #include <afxcview.h> #include <AfxTempl.h> #include <atlconv.h> #include <MsHTML.h> #include <afxhtml.h> #include <afxinet.h> #pragma comment(lib, "wininet.lib") //#define SMSMANAGER_KF //ÊÇ·ñΪ¿Í·þ(ÖµÊØ)ϵͳs //ÒÔÏÂÈýѡһ //#define SMSCENTER_ONE //µÚÒ»¶ÌÐÅÆ½Ì¨ //#define SMSCENTER_TWO //µÚ¶þ¶ÌÐÅÆ½Ì¨ #define SMSCENTER_THREE //µÚ¶þ¶ÌÐÅÆ½Ì¨ //#define SMSCENTER_TZY //ÍÅÖÐÑë¶ÌÐÅÆ½Ì¨ //#define SMSCENTER_ADC //µÚÈý(ADC)¶ÌÐÅÆ½Ì¨ //#define SMSCENTER_NX //Å©ÐŶÌÐÅÆ½Ì¨ //#define SMSCENTER_GDDX //¹ã¶«µçÐŵį½Ì¨£¬½¨Á¢ÔÚÅ©ÐÅÆ½Ì¨»ù´¡Ö®ÖÐ,±ØÐëÒªSMSCENTER_NXÓëSMSCENTER_GDDXÒ»Æð //#define SMSCENTER_IMUSIC //°®ÒôÀÖ°æ±¾ //#define SMSCENTER_DGSB //¶«Ý¸Éç±£°æ±¾ // #define SMSCENTER_DGSB_FIVE //ÎåËùÌØÊâ¸ÄÃû³Æ°æ±¾ // #define SMSCENTER_DGSB_SGYD //ÉØ¹ØÒƶ¯ÌØÊâ¸ÄÃû³Æ°æ±¾ // #define SMSCENTER_GDYD_ADC //¹ã¶«µçÐÅϵÄadc°æ£¬ÓÃÓÚ²âÊÔ¡£ #include "..\public\LuTool.h" #include "..\public\ado\ado.h" #include "..\public\des\des.h" #include "..\public\CorpSms.h" #include "..\public\PictureEx\PictureEx.h" #include "..\Public\Print\PrnFrm.h" #include "..\public\CSpreadSheet\SpreadSheet.h" #include "..\public\SendPub.h" #ifdef SMSCENTER_ADC #define DEFAULT_SERVERPORT 2037 //ĬÈϵÄÖ¡Ìý¶Ë¿Ú #else #define DEFAULT_SERVERPORT 2036 //ĬÈϵÄÖ¡Ìý¶Ë¿Ú #define DEFAULT_SERVERPORT_UNI 2046 //ĬÈϵÄÖ¡Ìý¶Ë¿Ú #endif #define DEFAULT_SERVER _T("sms1.mobset.com") //ĬÈϵĶÌÐÅÖÐÐĺŠ#define DEFAULT_SERVER2 _T("sms2.mobset.com") //ĬÈϵĶÌÐÅÖÐÐĺŠ#define DEFAULT_SERVER3 _T("sms3.mobset.com") //ĬÈϵĶÌÐÅÖÐÐĺŠ#define DEFAULT_SERVERA _T("adc.mobset.com") //ĬÈϵĶÌÐÅÖÐÐĺŠ#define DEFAULT_SERVERNX _T("173.0.96.138") //ĬÈϵĶÌÐÅÖÐÐĺŠ#define DEFAULT_SERVERGDDX _T("14.17.121.9") //ĬÈϵĶÌÐÅÖÐÐĺŠ#define DEFAULT_SERVERDGSB _T("192.168.104.10") //ĬÈϵĶÌÐÅÖÐÐĺŠ#define DEFAULT_SERVERGDYD_ADC _T("211.147.242.58:681") #define SENDDATA_COMPRESS 0 //·¢ËͳöÈ¥µÄÊý¾ÝÊÇ·ñѹËõ #define SOCKETRECV_TIMEOUT 90000 //·¢ËÍÒ»Frameºó£¬µÈ´ý·µ»ØµÄ³¬Ê±Ê±¼ä #define RECVREFRESH_TIMEOUT 100000 //ÿ15Ãë·¢ËͲâÊÔÊý¾Ý£¬ÒÔ·ÀÖÐÐĶ˱»¹Ø±Õ #define BBS_PROCESS_TIMEOUT COleDateTimeSpan(1,0,0,0) //BBSÊý¾Ý´¦Àí³¬Ê±Ê±¼ä #define BBS_PROCESS_TIMEOUT2 COleDateTimeSpan(0,2,0,0) //BBSÊý¾Ý´¦Àí³¬Ê±Ê±¼ä #define SUPPERGATEWAY_POST _T("/GateWay/GateWay.asp") //³¬¼¶Íø¹ØµÄÎļþÃû #define SETPASSWD_POST _T("/SetPasswd.asp") //ÉèÖÃÃÜÂëÎļþÃû #define MOBSET_URL _T("http://www.mobset.com") #define MOBSET_EMAIL _T("mailto:jtdx@mobset.com") #define MOBSET_URL_REG _T("http://www.mobset.com/jtdx/reg2.htm") #include <afxcontrolbars.h> #include <afxcontrolbars.h> #include <afxcontrolbars.h> #include <afxcontrolbars.h> #include <afxwin.h> #include <afxwin.h> #include <afxcontrolbars.h> #include <afxcontrolbars.h> #include <afxcontrolbars.h> #include <afxcontrolbars.h> #include <afxcontrolbars.h> #include <afxcontrolbars.h> #include <afxcontrolbars.h> #include <afxcontrolbars.h> #include <afxcontrolbars.h> #include <afxcontrolbars.h> #include ".\dog\Syunew3D.h" #ifdef _M_X64 #pragma comment(lib, ".\\dog\\Syunew3D-x64.lib") #else #pragma comment(lib, ".\\dog\\Syunew3D.lib") #endif #define DOG_OLDWPASSWD 0xFFFFFFFF #define DOG_OLDRPASSWD 0xFFFFFFFF #define DOG_NEWWPASSWD 0x32E2A9B8 #define DOG_NEWRPASSWD 0x1A753D2C #define DOG_INDATA 0x90FA9997 #define DOG_OUTDATA 0xE8774858 typedef struct _SM_Setup { TCHAR szIP[32]; //¶ÌÐÅÖÐÐÄIP TCHAR szUser[16]; //¶ÌÐÅÖÐÐÄUser TCHAR szPasswd[40]; //¶ÌÐÅÖÐÐÄPasswd BOOL bProxyUse; //ÊÇ·ñʹÓÃProxy long lProxyType; //ProxyÀàÐÍ TCHAR szProxyIP[32]; long lProxyPort; TCHAR szProxyUser[16]; TCHAR szProxyPasswd[40]; long bGateWay; BOOL Warning_Enable; long Warning_Timer; BOOL Warning_Sound; BOOL Warning_Flash; BOOL Warning_Window; BOOL Warning_OnlyContent; BOOL Warning_Timeout; }SM_Setup; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #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_IA64 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' 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 // !defined(AFX_STDAFX_H__DE43A14C_D8D5_498F_AA94_3F995CDE6728__INCLUDED_)