From 4dfb88353b3671a71bc397d5f210d71f67f8fb04 Mon Sep 17 00:00:00 2001 From: QuakeGod <quakegod@sina.com> Date: 星期一, 23 十月 2023 15:17:10 +0800 Subject: [PATCH] fix1 --- KLink1/framework.h | 37 ++++++++++++++++++++++++++++++++++--- 1 files changed, 34 insertions(+), 3 deletions(-) diff --git a/KLink1/framework.h b/KLink1/framework.h index 3f0fc4a..ac1c66f 100644 --- a/KLink1/framework.h +++ b/KLink1/framework.h @@ -1,5 +1,36 @@ 锘�#pragma once -#define WIN32_LEAN_AND_MEAN // 浠� Windows 澶存枃浠朵腑鎺掗櫎鏋佸皯浣跨敤鐨勫唴瀹� -// Windows 澶存枃浠� -#include <windows.h> +#ifndef VC_EXTRALEAN +#define VC_EXTRALEAN // 浠� Windows 澶翠腑鎺掗櫎鏋佸皯浣跨敤鐨勮祫鏂� +#endif + +#include "targetver.h" + +#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 鏌愪簺 CString 鏋勯�犲嚱鏁板皢鏄樉寮忕殑 + +#include <afxwin.h> // MFC 鏍稿績缁勪欢鍜屾爣鍑嗙粍浠� +#include <afxext.h> // MFC 鎵╁睍 + +#ifndef _AFX_NO_OLE_SUPPORT +#include <afxole.h> // MFC OLE 绫� +#include <afxodlgs.h> // MFC OLE 瀵硅瘽妗嗙被 +#include <afxdisp.h> // MFC 鑷姩鍖栫被 +#endif // _AFX_NO_OLE_SUPPORT + +#ifndef _AFX_NO_DB_SUPPORT +#include <afxdb.h> // MFC ODBC 鏁版嵁搴撶被 +#endif // _AFX_NO_DB_SUPPORT + +#ifndef _AFX_NO_DAO_SUPPORT +#include <afxdao.h> // MFC DAO 鏁版嵁搴撶被 +#endif // _AFX_NO_DAO_SUPPORT + +#ifndef _AFX_NO_OLE_SUPPORT +#include <afxdtctl.h> // MFC 瀵� Internet Explorer 4 鍏叡鎺т欢鐨勬敮鎸� +#endif +#ifndef _AFX_NO_AFXCMN_SUPPORT +#include <afxcmn.h> // MFC 瀵� Windows 鍏叡鎺т欢鐨勬敮鎸� +#endif // _AFX_NO_AFXCMN_SUPPORT + +#include <afxsock.h> // MFC 濂楁帴瀛楁墿灞� + -- Gitblit v1.9.1