1 // stdafx1.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 #if !defined(AFX_STDAFX_H__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED_) 6 #define AFX_STDAFX_H__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED_ 7 8 #if _MSC_VER > 1000 9 #pragma once 10 #endif // _MSC_VER > 1000 11 12 #define STRICT 13 #ifndef _WIN32_WINNT 14 #define _WIN32_WINNT 0x0400 15 #endif 16 #define _ATL_APARTMENT_THREADED 17 #define _ATL_STATIC_REGISTRY 18 19 #pragma warning (disable:4505) 20 // globally disable "unreferenced local function has been removed" 21 22 #pragma warning (push,1) 23 #pragma warning (disable:4548) 24 // expression before comma has no effect; expected expression with side-effect 25 #pragma warning (disable:4555) 26 // expression has no effect; expected expression with side-effect 27 28 #define min(a, b) (((a) < (b)) ? (a) : (b)) 29 #include <atlbase.h> 30 31 //You may derive a class from CComModule and use it if you want to override 32 //something, but do not change the name of _Module 33 extern CComModule _Module; 34 #include <atlcom.h> 35 #include <atlctl.h> 36 37 #pragma warning (pop) 38 39 //{{AFX_INSERT_LOCATION}} 40 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 41 42 #endif // !defined(AFX_STDAFX_H__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED) 43