1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 // stdafx1.h : include file for standard system include files, 23 // or project specific include files that are used frequently, 24 // but are changed infrequently 25 26 #if !defined(AFX_STDAFX_H__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED_) 27 #define AFX_STDAFX_H__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED_ 28 29 #if _MSC_VER > 1000 30 #pragma once 31 #endif // _MSC_VER > 1000 32 33 #define STRICT 34 #ifndef _WIN32_WINNT 35 #define _WIN32_WINNT 0x0400 36 #endif 37 #define _ATL_APARTMENT_THREADED 38 #define _ATL_STATIC_REGISTRY 39 40 #pragma warning (disable:4505) 41 // globally disable "unreferenced local function has been removed" 42 43 #pragma warning (push,1) 44 #pragma warning (disable:4548) 45 // expression before comma has no effect; expected expression with side-effect 46 #pragma warning (disable:4555) 47 // expression has no effect; expected expression with side-effect 48 49 #define min(a, b) (((a) < (b)) ? (a) : (b)) 50 #include <atlbase.h> 51 52 //You may derive a class from CComModule and use it if you want to override 53 //something, but do not change the name of _Module 54 extern CComModule _Module; 55 #include <atlcom.h> 56 #include <atlctl.h> 57 58 #pragma warning (pop) 59 60 //{{AFX_INSERT_LOCATION}} 61 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 62 63 #endif // !defined(AFX_STDAFX_H__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED) 64