forked from DennisLiu1993/Fastest_Image_Pattern_Matching
-
Notifications
You must be signed in to change notification settings - Fork 0
/
framework.h
49 lines (27 loc) · 1.49 KB
/
framework.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#pragma once
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // 從 Windows 標頭排除不常使用的成員
#endif
#include "targetver.h"
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 明確定義部分的 CString 建構函式
// 關閉 MFC 隱藏某些一般且常發生,但可安全忽略的警告訊息
#define _AFX_ALL_WARNINGS
#include <afxwin.h> // MFC 核心與標準元件
#include <afxext.h> // MFC 擴充功能
#include <afxdisp.h> // MFC Automation 類別
#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 <afxcontrolbars.h> // 功能區與控制列的 MFC 支援
#ifdef _UNICODE
#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_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