stdafx.h

Go to the documentation of this file.
00001 // stdafx.h : include file for standard system include files,
00002 // or project specific include files that are used frequently,
00003 // but are changed infrequently
00004 
00005 #pragma once
00006 
00007 #ifndef STRICT
00008 #define STRICT
00009 #endif
00010 
00011 // Modify the following defines if you have to target a platform prior to the ones specified below.
00012 // Refer to MSDN for the latest info on corresponding values for different platforms.
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 /* ATL Setup **************************************************************** */
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>          // base ATL classes
00041 #include <atlcom.h>
00042 #include <atlwin.h>           // ATL GUI classes
00043 #include <atltypes.h>
00044 #include <atlctl.h>
00045 #include <atlhost.h>
00046 #include <atltime.h>          // CTime class
00047 
00048 using namespace ATL;
00049 
00050 /* WTL Setup **************************************************************** */
00051 #define _WTL_NO_CSTRING
00052 
00053 #include <atlapp.h>               // base WTL classes
00054 //extern CAppModule _Module;  // WTL version of CComModule
00055 #define _Module (*_pModule)   // WTL alternate version, works with attributes
00056 #include <atlframe.h>         // WTL frame window classes
00057 #include <atlmisc.h>          // WTL utility classes like CString
00058 #include <atlcrack.h>         // WTL enhanced msg map macros
00059 
00060 #include <atlctrls.h>
00061 
00062 #include <shlobj.h>           // Typical Shell header file
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 // This is here only to tell VC7 Class Wizard this is an ATL project
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

Generated on Mon Nov 12 22:43:54 2007 for Swish by  doxygen 1.5.3