-
Notifications
You must be signed in to change notification settings - Fork 164
Expand file tree
/
Copy pathstdafx.h
More file actions
73 lines (57 loc) · 2.22 KB
/
stdafx.h
File metadata and controls
73 lines (57 loc) · 2.22 KB
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
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
#pragma once
// disable these useless warnings
#pragma warning(disable:4018)
#pragma warning(disable:4800)
// Change these values to use different versions
#define WINVER 0x0501
#define _WIN32_WINNT 0x0501
#define _WIN32_IE 0x0600
#define _RICHEDIT_VER 0x0300
#define _CRT_SECURE_NO_DEPRECATE
#include <tchar.h>
#include <atlbase.h>
#pragma warning(push)
#pragma warning(disable:4996)
#pragma warning(disable:4838)
#pragma warning(disable:4302)
#include <atlapp.h>
#include <assert.h>
extern CAppModule _Module;
#include <atlwin.h>
#include <atlframe.h>
#include <atlctrls.h>
#include <atldlgs.h>
#include <atlmisc.h>
#include <atlscrl.h>
#pragma warning(pop)
// STL stuff
#include <list>
#include <set>
#define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
// own stuff
#include "ImageProcessingTypes.h"
#define VK_PAGE_UP 0x021
#define VK_PAGE_DOWN 0x22
#define VK_PLUS 0x6b
#define VK_MINUS 0x6d
// a type that has enough bits to hold a pointer and allowing arithmetic operations
#ifdef _WIN64
#define PTR_INTEGRAL_TYPE unsigned long long
#else
#define PTR_INTEGRAL_TYPE unsigned int
#endif
#ifndef _UNICODE
#error _UNICODE symbol must be defined
#endif
#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