2025-01-14 10:46:18 +08:00
|
|
|
|
// 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 //<2F><>ֹWarnings<67><73><EFBFBD><EFBFBD>
|
|
|
|
|
#define _CRT_NON_CONFORMING_SWPRINTFS //<2F><>ֹWarnings<67><73><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#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")
|
|
|
|
|
|
2025-03-25 11:02:37 +08:00
|
|
|
|
//#define SMSMANAGER_KF //<2F>Ƿ<EFBFBD>Ϊ<EFBFBD>ͷ<EFBFBD>(ֵ<><D6B5>)ϵͳs
|
2025-01-14 10:46:18 +08:00
|
|
|
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡһ
|
2025-05-30 14:37:11 +08:00
|
|
|
|
#define SMSCENTER_ONE //<2F><>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>ƽ̨
|
2025-01-14 10:46:18 +08:00
|
|
|
|
//#define SMSCENTER_TWO //<2F>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD>ƽ̨
|
2025-05-30 14:37:11 +08:00
|
|
|
|
//#define SMSCENTER_THREE //<2F>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD>ƽ̨
|
2025-01-14 10:46:18 +08:00
|
|
|
|
//#define SMSCENTER_TZY //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ̨
|
|
|
|
|
//#define SMSCENTER_ADC //<2F><><EFBFBD><EFBFBD>(ADC)<29><><EFBFBD><EFBFBD>ƽ̨
|
|
|
|
|
//#define SMSCENTER_NX //ũ<>Ŷ<EFBFBD><C5B6><EFBFBD>ƽ̨
|
|
|
|
|
//#define SMSCENTER_GDDX //<2F>㶫<EFBFBD><E3B6AB><EFBFBD>ŵ<EFBFBD>ƽ̨<C6BD><CCA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ũ<EFBFBD><C5A9>ƽ̨<C6BD><CCA8><EFBFBD><EFBFBD>֮<EFBFBD><D6AE>,<2C><><EFBFBD><EFBFBD>ҪSMSCENTER_NX<4E><58>SMSCENTER_GDDXһ<58><D2BB>
|
|
|
|
|
//#define SMSCENTER_IMUSIC //<2F><><EFBFBD><EFBFBD><EFBFBD>ְ汾
|
|
|
|
|
//#define SMSCENTER_DGSB //<2F><>ݸ<EFBFBD>籣<EFBFBD>汾
|
|
|
|
|
// #define SMSCENTER_DGSB_FIVE //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ư汾
|
|
|
|
|
// #define SMSCENTER_DGSB_SGYD //<2F>ع<EFBFBD><D8B9>ƶ<EFBFBD><C6B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ư汾
|
|
|
|
|
// #define SMSCENTER_GDYD_ADC //<2F>㶫<EFBFBD><E3B6AB><EFBFBD><EFBFBD><EFBFBD>µ<EFBFBD>adc<64>棬<EFBFBD><E6A3AC><EFBFBD>ڲ<EFBFBD><DAB2>ԡ<EFBFBD>
|
|
|
|
|
|
|
|
|
|
#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 //Ĭ<>ϵ<EFBFBD>֡<EFBFBD><D6A1><EFBFBD>˿<EFBFBD>
|
|
|
|
|
#else
|
|
|
|
|
#define DEFAULT_SERVERPORT 2036 //Ĭ<>ϵ<EFBFBD>֡<EFBFBD><D6A1><EFBFBD>˿<EFBFBD>
|
|
|
|
|
#define DEFAULT_SERVERPORT_UNI 2046 //Ĭ<>ϵ<EFBFBD>֡<EFBFBD><D6A1><EFBFBD>˿<EFBFBD>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#define DEFAULT_SERVER _T("sms1.mobset.com") //Ĭ<>ϵĶ<CFB5><C4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD>
|
|
|
|
|
#define DEFAULT_SERVER2 _T("sms2.mobset.com") //Ĭ<>ϵĶ<CFB5><C4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD>
|
|
|
|
|
#define DEFAULT_SERVER3 _T("sms3.mobset.com") //Ĭ<>ϵĶ<CFB5><C4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD>
|
|
|
|
|
#define DEFAULT_SERVERA _T("adc.mobset.com") //Ĭ<>ϵĶ<CFB5><C4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD>
|
|
|
|
|
#define DEFAULT_SERVERNX _T("173.0.96.138") //Ĭ<>ϵĶ<CFB5><C4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD>
|
|
|
|
|
#define DEFAULT_SERVERGDDX _T("14.17.121.9") //Ĭ<>ϵĶ<CFB5><C4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD>
|
|
|
|
|
#define DEFAULT_SERVERDGSB _T("192.168.104.10") //Ĭ<>ϵĶ<CFB5><C4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĺ<EFBFBD>
|
|
|
|
|
#define DEFAULT_SERVERGDYD_ADC _T("211.147.242.58:681")
|
|
|
|
|
|
|
|
|
|
#define SENDDATA_COMPRESS 0 //<2F><><EFBFBD>ͳ<EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD>ѹ<EFBFBD><D1B9>
|
|
|
|
|
#define SOCKETRECV_TIMEOUT 90000 //<2F><><EFBFBD><EFBFBD>һFrame<6D>ȴ<F3A3ACB5><C8B4><EFBFBD><EFBFBD>صij<D8B5>ʱʱ<CAB1><CAB1>
|
|
|
|
|
#define RECVREFRESH_TIMEOUT 100000 //ÿ15<31>뷢<EFBFBD>Ͳ<EFBFBD><CDB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD><DDA3>Է<EFBFBD><D4B7><EFBFBD><EFBFBD>Ķ˱<C4B6><CBB1>ر<EFBFBD>
|
|
|
|
|
#define BBS_PROCESS_TIMEOUT COleDateTimeSpan(1,0,0,0) //BBS<42><53><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD><EFBFBD><EFBFBD>ʱʱ<CAB1><CAB1>
|
|
|
|
|
#define BBS_PROCESS_TIMEOUT2 COleDateTimeSpan(0,2,0,0) //BBS<42><53><EFBFBD>ݴ<EFBFBD><DDB4><EFBFBD><EFBFBD><EFBFBD>ʱʱ<CAB1><CAB1>
|
|
|
|
|
#define SUPPERGATEWAY_POST _T("/GateWay/GateWay.asp") //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ص<EFBFBD><D8B5>ļ<EFBFBD><C4BC><EFBFBD>
|
|
|
|
|
|
|
|
|
|
#define SETPASSWD_POST _T("/SetPasswd.asp") //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>
|
|
|
|
|
|
|
|
|
|
#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")
|
|
|
|
|
|
2025-04-11 17:21:56 +08:00
|
|
|
|
|
2025-01-14 10:46:18 +08:00
|
|
|
|
#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>
|
|
|
|
|
|
2025-04-11 17:21:56 +08:00
|
|
|
|
#include ".\dog\Syunew3D.h"
|
|
|
|
|
#ifdef _M_X64
|
|
|
|
|
#pragma comment(lib, ".\\dog\\Syunew3D-x64.lib")
|
|
|
|
|
#else
|
|
|
|
|
#pragma comment(lib, ".\\dog\\Syunew3D.lib")
|
|
|
|
|
#endif
|
2025-01-14 10:46:18 +08:00
|
|
|
|
#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]; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IP
|
|
|
|
|
TCHAR szUser[16]; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>User
|
|
|
|
|
TCHAR szPasswd[40]; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Passwd
|
|
|
|
|
|
|
|
|
|
BOOL bProxyUse; //<2F>Ƿ<EFBFBD>ʹ<EFBFBD><CAB9>Proxy
|
|
|
|
|
long lProxyType; //Proxy<78><79><EFBFBD><EFBFBD>
|
|
|
|
|
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_)
|