-
Notifications
You must be signed in to change notification settings - Fork 20
/
stdafx.h
78 lines (56 loc) · 1.98 KB
/
stdafx.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// stdafx.h : 标准系统包含文件的包含文件,
// 或是经常使用但不常更改的
// 特定于项目的包含文件
//
#pragma once
#include "targetver.h"
#define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的信息
#define _CRT_SECURE_NO_DEPRECATE
// Windows 头文件:
#include <windows.h>
#include <windowsx.h>
#include <objbase.h>
#include <Commdlg.h>
#include "OleIdl.h"
#include "ShObjIdl.h"
#include <vector>
// C 运行时头文件
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
#include <assert.h>
//
// TODO: 在此处引用程序需要的其他头文件
#ifdef Z_EXPORT_API
#define Z_EXPORT_API __declspec(dllexport)
#else
#define Z_EXPORT_API __declspec(dllimport)
#endif
#include "./3rd/DuiLib/UIlib.h"
using namespace DuiLib;
#ifdef _DEBUG
# ifdef _UNICODE
# pragma comment(lib, ".\\lib\\DuiLib_ud.lib")
# else
# pragma comment(lib, ".\\lib\\DuiLib_d.lib")
# endif
#else
# ifdef _UNICODE
# pragma comment(lib, ".\\lib\\DuiLib_u.lib")
# else
# pragma comment(lib, ".\\lib\\DuiLib.lib")
# endif
#endif
extern "C" {
extern HINSTANCE ghInstance;
}
#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