update dev300-m58
[ooovba.git] / extensions / source / activex / main / StdAfx2.h
blobc7e2997e0c6d0e70c276a02faa51ac3098e15f7b
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
5 #if !defined(AFX_STDAFX_H__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED_)
6 #define AFX_STDAFX_H__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED_
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
12 #define STRICT
13 #ifndef _WIN32_WINNT
14 #define _WIN32_WINNT 0x0400
15 #endif
16 #define _ATL_APARTMENT_THREADED
17 #define _ATL_STATIC_REGISTRY
19 #pragma warning (disable:4505)
20 // globally disable "unreferenced local function has been removed"
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
28 #define min(a, b) (((a) < (b)) ? (a) : (b))
29 #include <atlbase.h>
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>
37 #pragma warning (pop)
39 //{{AFX_INSERT_LOCATION}}
40 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
42 #endif // !defined(AFX_STDAFX_H__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED)