00001
00002
00003
00004
00005 #pragma once
00006
00007 #ifndef STRICT
00008 #define STRICT
00009 #endif
00010
00011
00012
00013 #ifndef WINVER // Allow use of features specific to Windows 2k or later.
00014 #define WINVER 0x0400 // Change this to the appropriate value to target other versions of Windows.
00015 #endif
00016
00017 #ifndef _WIN32_WINNT // Allow use of features specific to Windows 2k or later.
00018 #define _WIN32_WINNT 0x0500 // Change this to the appropriate value to target other versions of Windows.
00019 #endif
00020
00021 #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
00022 #define _WIN32_WINDOWS 0x0400 // Change this to the appropriate value to target Windows Me or later.
00023 #endif
00024
00025 #ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later.
00026 #define _WIN32_IE 0x0400 // Change this to the appropriate value to target other versions of IE.
00027 #endif
00028
00029
00030 #define _ATL_APARTMENT_THREADED
00031 #define _ATL_NO_AUTOMATIC_NAMESPACE
00032
00033 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
00034
00035 #ifdef _DEBUG
00036 #define _ATL_DEBUG_QI
00037 #define _ATL_DEBUG_INTERFACES
00038 #endif
00039
00040 #include <atlbase.h>
00041 #include <atlcom.h>
00042 #include <atlwin.h>
00043 #include <atltypes.h>
00044 #include <atlctl.h>
00045 #include <atlhost.h>
00046 #include <atltime.h>
00047
00048 using namespace ATL;
00049
00050
00051 #define _WTL_NO_CSTRING
00052
00053 #include <atlapp.h>
00054
00055 #define _Module (*_pModule) // WTL alternate version, works with attributes
00056 #include <atlframe.h>
00057 #include <atlmisc.h>
00058 #include <atlcrack.h>
00059
00060 #include <atlctrls.h>
00061
00062 #include <shlobj.h>
00063
00064 #include <vector>
00065 #include <strsafe.h>
00066
00067 #ifdef UNREACHABLE
00068 #undef UNREACHABLE
00069 #endif
00070 #ifdef _DEBUG
00071 #define UNREACHABLE ATLASSERT(0);
00072 #else
00073 #define UNREACHABLE __assume(0);
00074 #endif
00075
00076
00077 #ifdef ___VC7_CLWIZ_ONLY___
00078 CComModule
00079 CExeModule
00080 #endif
00081
00082 #if defined _M_IX86
00083 #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
00084 #elif defined _M_IA64
00085 #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
00086 #elif defined _M_X64
00087 #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
00088 #else
00089 #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
00090 #endif