GME  13
stdafx.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #ifndef _SECURE_ATL
00004 #define _SECURE_ATL 1
00005 #endif
00006 
00007 #ifndef VC_EXTRALEAN
00008 #define VC_EXTRALEAN            // Exclude rarely-used stuff from Windows headers
00009 #endif
00010 
00011 #include "targetver.h"
00012 
00013 #define _CRT_SECURE_NO_WARNINGS
00014 
00015 #define _ATL_APARTMENT_THREADED
00016 
00017 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // some CString constructors will be explicit
00018 
00019 // turns off MFC's hiding of some common and often safely ignored warning messages
00020 #define _AFX_ALL_WARNINGS
00021 
00022 #if defined(_DEBUG)
00023 // also change it in GME/StdAfx.h
00024 #endif
00025 
00026 #include <afxctl.h>         // MFC support for ActiveX Controls
00027 #include <afxext.h>         // MFC extensions
00028 #include <afxdtctl.h>           // MFC support for Internet Explorer 4 Comon Controls
00029 #ifndef _AFX_NO_AFXCMN_SUPPORT
00030 #include <afxcmn.h>                     // MFC support for Windows Common Controls
00031 #endif // _AFX_NO_AFXCMN_SUPPORT
00032 
00033 #include <atlbase.h>
00034 //You may derive a class from CComModule and use it if you want to override
00035 //something, but do not change the name of _Module
00036 extern CComModule _Module;
00037 #include <atlcom.h>
00038 
00039 #import "CoreLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00040 #import "MetaLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00041 #import "MgaLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00042 #import "GMELib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00043 #import "MgaUtilLib.tlb" no_implementation no_namespace raw_method_prefix("") high_method_prefix("__") no_registry
00044 
00045 // Don't load the MIDL-generated headers
00046 #define __Core_h__
00047 #define __Meta_h__
00048 #define __Mga_h__
00049 #define __MgaUtil_h__
00050 #define __Gme_h__
00051 
00052 #define IID_IMgaDataSource __uuidof(IMgaDataSource)
00053 
00054 #include "CommonError.h"
00055 #include "CommonSmart.h"
00056 #include "CommonMfc.h"
00057 #include "CommonMgaTrukk.h"
00058 
00059 // Comment this out if you do not want to see the messages in the debug window
00060 #define DEBUG_EVENTS
00061 
00062 
00063 #ifdef DEBUG_EVENTS
00064  #define EVENT_TRACE(x) TRACE(x)
00065 #else
00066  #define EVENT_TRACE(x)
00067 #endif 
00068 
00069 
00070 //{{AFX_INSERT_LOCATION}}
00071 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.