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