#if (!defined(BUILD_FOR_NT40)) #pragma once //#define STRICT #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0400 #endif #define _ATL_APARTMENT_THREADED #include "atlbase.h" //You may derive a class from CComModule and use it if you want to override //something, but do not change the name of _Module extern CComModule _Module; #include "atlcom.h" #endif