|
#ifndef BASE_H
|
#define BASE_H
|
|
#pragma once
|
|
#ifndef VC_EXTRALEAN
|
#define VC_EXTRALEAN // ´Ó Windows Í·ÖÐÅųý¼«ÉÙʹÓõÄ×ÊÁÏ
|
#endif
|
|
|
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // ijЩ CString ¹¹Ô캯Êý½«ÊÇÏÔʽµÄ
|
|
// ¹Ø±Õ MFC µÄһЩ³£¼ûÇÒ¾³£¿É·ÅÐĺöÂÔµÄÒþ²Ø¾¯¸æÏûÏ¢
|
#define _AFX_ALL_WARNINGS
|
|
#include <afxwin.h> // MFC ºËÐÄ×é¼þºÍ±ê×¼×é¼þ
|
#include <afxext.h> // MFC À©Õ¹
|
|
|
#include <afxdisp.h> // MFC ×Ô¶¯»¯Àà
|
|
|
|
#ifndef _AFX_NO_OLE_SUPPORT
|
#include <afxdtctl.h> // MFC ¶Ô Internet Explorer 4 ¹«¹²¿Ø¼þµÄÖ§³Ö
|
#endif
|
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
#include <afxcmn.h> // MFC ¶Ô Windows ¹«¹²¿Ø¼þµÄÖ§³Ö
|
#endif // _AFX_NO_AFXCMN_SUPPORT
|
|
#include <afxcontrolbars.h> // MFC Ö§³Ö¹¦ÄÜÇøºÍ¿ØÖÆÌõ
|
|
|
#include <rapidjson/rapidjson.h>
|
#include <rapidjson/document.h>
|
#include <rapidjson/stringbuffer.h>
|
#include <rapidjson/writer.h>
|
#include <rapidjson/prettywriter.h>
|
|
|
|
|
|
|
|
|
|
#ifdef _UNICODE
|
#if defined _M_IX86
|
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
#elif defined _M_X64
|
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
#else
|
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
#endif
|
#endif
|
|
|
|
|
#endif //BASE_H
|