|
|
|
|
|
// stdafx.h : include file for standard system include files,
|
|
|
|
|
|
// or project specific include files that are used frequently, but
|
|
|
|
|
|
// are changed infrequently
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef VC_EXTRALEAN
|
|
|
|
|
|
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
//#include "targetver.h"
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef WINVER
|
|
|
|
|
|
#define WINVER 0x0501
|
|
|
|
|
|
#endif
|
|
|
|
|
|
#ifndef _WIN32_WINNT
|
|
|
|
|
|
#define _WIN32_WINNT 0x0501
|
|
|
|
|
|
#endif
|
|
|
|
|
|
#ifndef _WIN32_IE
|
|
|
|
|
|
#define _WIN32_IE 0x0501
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
|
|
|
|
|
|
|
|
|
|
|
|
#define _WINSOCKAPI_ // <20><>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD> winsock.h
|
|
|
|
|
|
#include <winsock2.h> // <20><><EFBFBD><EFBFBD> winsock2.h
|
|
|
|
|
|
#include <ws2tcpip.h> // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD> TCP/IP <20><><EFBFBD><EFBFBD>
|
|
|
|
|
|
#include <Windows.h>
|
|
|
|
|
|
|
|
|
|
|
|
//#include <afxwin.h> // MFC core and standard components
|
|
|
|
|
|
//#include <afxext.h> // MFC extensions
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _AFX_NO_OLE_SUPPORT
|
|
|
|
|
|
#include <afxole.h> // MFC OLE classes
|
|
|
|
|
|
#include <afxodlgs.h> // MFC OLE dialog classes
|
|
|
|
|
|
#include <afxdisp.h> // MFC Automation classes
|
|
|
|
|
|
#endif // _AFX_NO_OLE_SUPPORT
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _AFX_NO_DB_SUPPORT
|
|
|
|
|
|
#include <afxdb.h> // MFC ODBC database classes
|
|
|
|
|
|
#endif // _AFX_NO_DB_SUPPORT
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _AFX_NO_DAO_SUPPORT
|
|
|
|
|
|
#include <afxdao.h> // MFC DAO database classes
|
|
|
|
|
|
#endif // _AFX_NO_DAO_SUPPORT
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _AFX_NO_OLE_SUPPORT
|
|
|
|
|
|
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
|
|
|
|
|
|
#endif
|
|
|
|
|
|
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
|
|
|
|
|
#include <afxcmn.h> // MFC support for Windows Common Controls
|
|
|
|
|
|
#endif // _AFX_NO_AFXCMN_SUPPORT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "..\DrawModel\BaseLib.h"
|
|
|
|
|
|
#include "dfImageLib.h"
|
|
|
|
|
|
#include "DrawInclude\dfBaseLib.h"
|