1 | |
---|
2 | // stdafx.h : include file for standard system include files, |
---|
3 | // or project specific include files that are used frequently, |
---|
4 | // but are changed infrequently |
---|
5 | |
---|
6 | #pragma once |
---|
7 | |
---|
8 | #define _ATL_APARTMENT_THREADED |
---|
9 | #ifndef _SECURE_ATL |
---|
10 | #define _SECURE_ATL 1 |
---|
11 | #endif |
---|
12 | |
---|
13 | #ifndef VC_EXTRALEAN |
---|
14 | #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers |
---|
15 | #endif |
---|
16 | |
---|
17 | #include "targetver.h" |
---|
18 | |
---|
19 | #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit |
---|
20 | |
---|
21 | // turns off MFC's hiding of some common and often safely ignored warning messages |
---|
22 | #define _AFX_ALL_WARNINGS |
---|
23 | |
---|
24 | #include <afxwin.h> // MFC core and standard components |
---|
25 | #include <afxext.h> // MFC extensions |
---|
26 | |
---|
27 | |
---|
28 | |
---|
29 | |
---|
30 | |
---|
31 | #ifndef _AFX_NO_OLE_SUPPORT |
---|
32 | #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls |
---|
33 | #endif |
---|
34 | #ifndef _AFX_NO_AFXCMN_SUPPORT |
---|
35 | #include <afxcmn.h> // MFC support for Windows Common Controls |
---|
36 | #endif // _AFX_NO_AFXCMN_SUPPORT |
---|
37 | |
---|
38 | #include <afxcontrolbars.h> // MFC support for ribbons and control bars |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | #ifdef _UNICODE |
---|
49 | #if defined _M_IX86 |
---|
50 | #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") |
---|
51 | #elif defined _M_IA64 |
---|
52 | #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") |
---|
53 | #elif defined _M_X64 |
---|
54 | #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") |
---|
55 | #else |
---|
56 | #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") |
---|
57 | #endif |
---|
58 | #endif |
---|
59 | |
---|
60 | |
---|
61 | |
---|
62 | #include <atlbase.h> |
---|
63 | #include <atlcom.h> |
---|
64 | #include <atlctl.h> |
---|