You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.6 KiB
C
57 lines
1.6 KiB
C
// 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_ // 防止包含 winsock.h
|
|
#include <winsock2.h> // 包含 winsock2.h
|
|
#include <ws2tcpip.h> // 如果需要额外的 TCP/IP 功能
|
|
#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" |