Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

mfc.h

Go to the documentation of this file.
00001 // mfc.h --
00002 // $Id: mfc.h,v 1.7 2003/11/23 01:42:51 wcvs Exp $
00003 // This is part of Metakit, see https://www.equi4.com/metakit/
00004 
00009 #define q4_MFC 1
00010 
00011 #if q4_WIN && !q4_WIN32
00012 #include <afxwin.h>
00013 #else
00014 #include <afxcoll.h>
00015 #endif
00016 
00017 #undef d4_assert
00018 #define d4_assert ASSERT
00019 
00020 #undef d4_assertThis
00021 #define d4_assertThis d4_assert(AfxIsValidAddress(this, sizeof *this, FALSE))
00022 
00023 #undef d4_new
00024 #define d4_new DEBUG_NEW
00025 
00026 typedef class CString   c4_String;
00027 typedef class CPtrArray   c4_PtrArray;
00028 typedef class CDWordArray c4_DWordArray;    
00029 typedef class CStringArray  c4_StringArray;   
00030 
00031   // MSVC 1.52 thinks a typedef has no constructor, so use a define instead
00032 #if !q4_OK && q4_MSVC && _MSC_VER == 800
00033 #define c4_String CString
00034 #endif


Metakit C++ API Reference - https://www.equi4.com/metakit.html - extracted with Doxygen