// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently

#pragma once

#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN                   // Exclude rarely-used stuff from Windows headers
#endif

#include "targetver.h"

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // some CString constructors will be explicit

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions

#ifndef _AFX_NO_OLE_SUPPORT
#include <afxole.h>         // MFC OLE classes
#include <afxodlgs.h>       // MFC OLE dialog classes
#include <afxdisp.h>        // MFC Automation classes
#endif // _AFX_NO_OLE_SUPPORT

#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

#ifndef _AFX_NO_OLE_SUPPORT
#include <afxdtctl.h>           // MFC support for Internet Explorer 4 Common Controls
#endif
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>                     // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT

#include <afxsock.h>            // MFC socket extensions

//  STL
#include <memory>

//
//  MAPI requirements
#define _WIN32_DCOM
#include <MapiUtil.h>
#include <MAPIX.h>
#include <MAPI.h>

//
//  P2Peer Visual Studio 2002, 2005, 2008 langauge extensions to faciltate
//  backwards compatiblity for VS2010+
//  NOTES: VS2002, 2005, 2008 release requirement, may be dropped from
//         subsequent code base and VS2010+ implementations
#if _MFC_VER <= 0x0999
#define   nullptr NULL
#if _MFC_VER >= 0x0700
#if _MFC_VER <= 0x0799
#include "P2Pvs2002_Ext.h"
#endif
#endif
#endif
