home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1996 December
/
PCWKCD1296.iso
/
vjplusb
/
msdev
/
bin
/
ide
/
mfcapwz.dll
/
TEMPLATE
/
STDAFX.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-07-12
|
2KB
|
66 lines
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
$$IF(CTreeView || CListView)
#include <afxcview.h>
$$ENDIF //CTreeView || CListView
$$IF(PROJTYPE_DLL)
#ifndef _AFX_NO_OLE_SUPPORT
$$ENDIF //PROJTYPE_DLL
$$IF(CONTAINER || MINI_SERVER || FULL_SERVER || CONTAINER_SERVER || PROJTYPE_DLL)
#include <afxole.h> // MFC OLE classes
$$IF(CONTAINER || CONTAINER_SERVER || PROJTYPE_DLL)
#include <afxodlgs.h> // MFC OLE dialog classes
$$ENDIF
$$ENDIF
$$IF(AUTOMATION || PROJTYPE_DLL || OLECTL)
#include <afxdisp.h> // MFC OLE automation classes
$$ENDIF
$$IF(ACTIVE_DOC_SERVER)
#include <afxdocob.h>
$$ENDIF
$$IF(PROJTYPE_DLL)
#endif // _AFX_NO_OLE_SUPPORT
$$ENDIF //PROJTYPE_DLL
$$// Include database headers. For a DLL or app which just includes database
$$// headers (no database view), conditionally include DAO and ODBC.
$$// If an actual view is used, always & only include the corresponding header.
$$// First, actual view is used:
$$IF(CRecordView)
#include <afxdb.h> // MFC ODBC database classes
$$ELIF(CDaoRecordView)
#include <afxdao.h> // MFC DAO database classes
$$ELIF(DB || PROJTYPE_DLL)
$$// Here, minimal DB support is requested, or we're a DLL. No view is chosen.
#ifndef _AFX_NO_DB_SUPPORT
#include <afxdb.h> // MFC ODBC database classes
#endif // _AFX_NO_DB_SUPPORT
#ifndef _AFX_NO_DAO_SUPPORT
#include <afxdao.h> // MFC DAO database classes
#endif // _AFX_NO_DAO_SUPPORT
$$ENDIF // database/DLL options
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
$$IF(SOCKETS)
#include <afxsock.h> // MFC socket extensions
$$ENDIF //SOCKETS
$$IF(CRichEditView)
#include <afxrich.h> // MFC rich edit classes
$$ENDIF //CRichEditView