Back to index

lightning-sunbird  0.9+nobinonly
StdAfx.h
Go to the documentation of this file.
00001 // stdafx.h : include file for standard system include files,
00002 //  or project specific include files that are used frequently, but
00003 //      are changed infrequently
00004 //
00005 
00006 #if !defined(AFX_STDAFX_H__A6031681_3B36_11D2_B44D_00600819607E__INCLUDED_)
00007 #define AFX_STDAFX_H__A6031681_3B36_11D2_B44D_00600819607E__INCLUDED_
00008 
00009 #if _MSC_VER >= 1000
00010 #pragma once
00011 #endif // _MSC_VER >= 1000
00012 
00013 #define VC_EXTRALEAN        // Exclude rarely-used stuff from Windows headers
00014 
00015 #include <afxwin.h>         // MFC core and standard components
00016 #include <afxext.h>         // MFC extensions
00017 #include <afxdisp.h>        // MFC OLE automation classes
00018 #ifndef _AFX_NO_AFXCMN_SUPPORT
00019 #include <afxcmn.h>                // MFC support for Windows Common Controls
00020 #endif // _AFX_NO_AFXCMN_SUPPORT
00021 #include <afxtempl.h>
00022 #include <afxmt.h>
00023 #include <afxpriv.h>
00024 
00025 #include <shlobj.h>
00026 
00027 // This macro is the same as IMPLEMENT_OLECREATE, except it passes TRUE
00028 //  for the bMultiInstance parameter to the COleObjectFactory constructor.
00029 //  We want a separate instance of this application to be launched for
00030 //  each OLE automation proxy object requested by automation controllers.
00031 #ifndef IMPLEMENT_OLECREATE2
00032 #define IMPLEMENT_OLECREATE2(class_name, external_name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
00033        AFX_DATADEF COleObjectFactory class_name::factory(class_name::guid, \
00034               RUNTIME_CLASS(class_name), TRUE, _T(external_name)); \
00035        const AFX_DATADEF GUID class_name::guid = \
00036               { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } };
00037 #endif // IMPLEMENT_OLECREATE2
00038 
00039 //{{AFX_INSERT_LOCATION}}
00040 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
00041 
00042 #endif // !defined(AFX_STDAFX_H__A6031681_3B36_11D2_B44D_00600819607E__INCLUDED_)