137 lines
4.9 KiB
C
137 lines
4.9 KiB
C
// 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 <afxhtml.h> // MFC support for Windows 95 Common Controls
|
||
#include <atlconv.h>
|
||
#include <afxinet.h>
|
||
#pragma comment(lib, "wininet.lib")
|
||
|
||
|
||
#define MANAGER_VER_YWY //是否为业务员管理平台
|
||
//#define MANAGER_VER_HF //是否为客服回访管理系统
|
||
|
||
//以下三选一
|
||
#define SMSCENTER_ONE //第一短信平台
|
||
//#define SMSCENTER_TWO //第二短信平台
|
||
//#define SMSCENTER_THREE //第三短信平台
|
||
//#define SMSCENTER_ADC //第三(ADC)短信平台
|
||
//#define SMSCENTER_NX //农信短信平台
|
||
//#define SMSCENTER_GDDX //广东电信的平台,建立在农信平台基础之中,必须要SMSCENTER_NX与SMSCENTER_GDDX一起
|
||
//#define SMSCENTER_IMUSIC //爱音乐版本
|
||
//#define SMSCENTER_DGSB //东莞社保版本
|
||
|
||
//#define YWY_NODOG //业务员不用加密狗登录
|
||
|
||
|
||
|
||
#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\CSpreadSheet\SpreadSheet.h"
|
||
#include "..\Public\Print\PrnFrm.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_GDDX _T("14.17.121.9") //默认的短信中心号
|
||
#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 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")
|
||
|
||
#define SUPPERGATEWAY_POST _T("/GateWay/GateWay.asp") //超级网关的文件名
|
||
|
||
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[36];
|
||
long lLastBBSID;
|
||
long bGateWay;
|
||
}SM_Setup;
|
||
|
||
|
||
#include ".\dog\Syunew3D.h"
|
||
#include <afxcontrolbars.h>
|
||
#include <afxcontrolbars.h>
|
||
#include <afxdisp.h>
|
||
#include <afxdisp.h>
|
||
#include <afxcontrolbars.h>
|
||
#include <afxcontrolbars.h>
|
||
#include <afxcontrolbars.h>
|
||
#include <afxcontrolbars.h>
|
||
|
||
#define DOG_OLDWPASSWD 0xFFFFFFFF
|
||
#define DOG_OLDRPASSWD 0xFFFFFFFF
|
||
#define DOG_NEWWPASSWD 0x32E2A9B8
|
||
#define DOG_NEWRPASSWD 0x1A753D2C
|
||
#define DOG_INDATA 0x90FA9997
|
||
#define DOG_OUTDATA 0xE8774858
|
||
|
||
//{{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_)
|