OLD | NEW |
1 #ifndef _STDAFX_H | 1 #ifndef _STDAFX_H |
2 #define _STDAFX_H | 2 #define _STDAFX_H |
3 | 3 |
4 #if _MSC_VER > 1000 | 4 #if _MSC_VER > 1000 |
5 #pragma once | 5 #pragma once |
6 #endif // _MSC_VER > 1000 | 6 #endif // _MSC_VER > 1000 |
7 | 7 |
8 | 8 |
9 | 9 |
10 //#define STRICT | 10 //#define STRICT |
11 #ifndef _WIN32_WINNT | 11 #ifndef _WIN32_WINNT |
12 #define _WIN32_WINNT 0x0501 | 12 #define _WIN32_WINNT 0x0501 |
13 #endif | 13 #endif |
14 | 14 |
15 #define _ATL_APARTMENT_THREADED | 15 #define _ATL_APARTMENT_THREADED |
16 | 16 |
17 #define _AFX_ALL_WARNINGS | |
18 #include <afxwin.h>
// MFC core and standard components | |
19 #include <afxext.h>
// MFC extensions | |
20 | |
21 #ifndef _AFX_NO_OLE_SUPPORT | |
22 #include <afxdtctl.h> // MFC s
upport for Internet Explorer 4 Common Controls | |
23 #endif | |
24 | |
25 #ifndef _AFX_NO_AFXCMN_SUPPORT | |
26 #include <afxcmn.h>
// MFC support for Windows Common Controls | |
27 #endif | |
28 | |
29 #include "afx.h" | |
30 | |
31 #define _CRT_SECURE_NO_DEPRECATE 1 | 17 #define _CRT_SECURE_NO_DEPRECATE 1 |
32 #include <atlbase.h> | 18 #include <atlbase.h> |
33 #include <atlstr.h> | 19 #include <atlstr.h> |
| 20 #include <atltypes.h> |
34 | 21 |
35 extern CComModule _Module; | 22 extern CComModule _Module; |
36 #include <comutil.h> | 23 #include <comutil.h> |
37 #include <atlcom.h> | 24 #include <atlcom.h> |
38 #include <atlhost.h> | 25 #include <atlhost.h> |
39 #include <stdio.h> | 26 #include <stdio.h> |
40 #include <assert.h> | 27 #include <assert.h> |
41 #include <stdexcept> | 28 #include <stdexcept> |
42 #include <ExDisp.h> | 29 #include <ExDisp.h> |
43 #include <ExDispID.h> | 30 #include <ExDispID.h> |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 78 |
92 #ifdef _MSC_VER | 79 #ifdef _MSC_VER |
93 #pragma warning(push) | 80 #pragma warning(push) |
94 // warning C4996: function call with parameters that might be unsafe | 81 // warning C4996: function call with parameters that might be unsafe |
95 #pragma warning(disable : 4996) | 82 #pragma warning(disable : 4996) |
96 #endif | 83 #endif |
97 | 84 |
98 | 85 |
99 #define _CRTDBG_MAPALLOC | 86 #define _CRTDBG_MAPALLOC |
100 #endif // not _STDAFX_H | 87 #endif // not _STDAFX_H |
OLD | NEW |