1 #include <GlobalConst.h> 2 3 #pragma once 4 5 #ifndef STRICT 6 #define STRICT 7 #endif 8 #ifndef WINVER 9 #define WINVER 0x0502 10 #endif 11 12 #ifndef _WIN32_WINNT 13 #define _WIN32_WINNT 0x0502 14 #endif 15 16 #ifndef _WIN32_WINDOWS 17 #define _WIN32_WINDOWS 0x0410 18 #endif 19 20 #ifndef _WIN32_IE 21 #define _WIN32_IE 0x0600 22 #endif 23 24 #define _ATL_APARTMENT_THREADED 25 #define _ATL_NO_AUTOMATIC_NAMESPACE 26 27 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS 28 29 30 #include "resource.h" 31 #include <atlbase.h> 32 #include <atlcom.h> 33 34 using namespace ATL; 35 36