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