OLD | NEW |
(Empty) | |
| 1 // stdafx.h : include file for standard system include files, |
| 2 // or project specific include files that are used frequently, |
| 3 // but are changed infrequently |
| 4 |
| 5 #pragma once |
| 6 |
| 7 #ifndef _SECURE_ATL |
| 8 #define _SECURE_ATL 1 |
| 9 #endif |
| 10 |
| 11 #ifndef VC_EXTRALEAN |
| 12 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows header
s |
| 13 #endif |
| 14 |
| 15 // Modify the following defines if you have to target a platform prior to the on
es specified below. |
| 16 // Refer to MSDN for the latest info on corresponding values for different platf
orms. |
| 17 #ifndef WINVER // Allow use of features specific to Win
dows XP or later. |
| 18 #define WINVER 0x0501 // Change this to the appropriate value to targe
t other versions of Windows. |
| 19 #endif |
| 20 |
| 21 #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP
or later. |
| 22 #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to targe
t other versions of Windows. |
| 23 #endif |
| 24 |
| 25 #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98
or later. |
| 26 #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target
Windows Me or later. |
| 27 #endif |
| 28 |
| 29 #ifndef _WIN32_IE // Allow use of features specific to IE
6.0 or later. |
| 30 #define _WIN32_IE 0x0600 // Change this to the appropriate value to targe
t other versions of IE. |
| 31 #endif |
| 32 |
| 33 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors wil
l be explicit |
| 34 |
| 35 // turns off MFC's hiding of some common and often safely ignored warning messag
es |
| 36 #define _AFX_ALL_WARNINGS |
| 37 |
| 38 #include <afxwin.h> // MFC core and standard components |
| 39 #include <afxext.h> // MFC extensions |
| 40 |
| 41 |
| 42 #include <afxdisp.h> // MFC Automation classes |
| 43 |
| 44 |
| 45 |
| 46 #ifndef _AFX_NO_OLE_SUPPORT |
| 47 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Co
ntrols |
| 48 #endif |
| 49 #ifndef _AFX_NO_AFXCMN_SUPPORT |
| 50 #include <afxcmn.h> // MFC support for Windows Common Contro
ls |
| 51 #endif // _AFX_NO_AFXCMN_SUPPORT |
| 52 |
| 53 |
| 54 |
| 55 |
| 56 |
| 57 |
| 58 |
| 59 |
| 60 |
| 61 #ifdef _UNICODE |
| 62 #if defined _M_IX86 |
| 63 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windo
ws.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken
='6595b64144ccf1df' language='*'\"") |
| 64 #elif defined _M_IA64 |
| 65 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windo
ws.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToke
n='6595b64144ccf1df' language='*'\"") |
| 66 #elif defined _M_X64 |
| 67 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windo
ws.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyTok
en='6595b64144ccf1df' language='*'\"") |
| 68 #else |
| 69 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windo
ws.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='
6595b64144ccf1df' language='*'\"") |
| 70 #endif |
| 71 #endif |
| 72 |
| 73 |
OLD | NEW |