代码拉取完成,页面将自动刷新
// 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 _SECURE_ATL
#define _SECURE_ATL 1
#endif
#ifndef VC_EXTRALEAN
# define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#endif
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
#define WINVER 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
#endif
#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
#define _WIN32_IE 0x0600 // Change this to the appropriate value to target IE 5.0 or later.
#endif
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
// turns off MFC's hiding of some common and often safely ignored warning messages
#define _AFX_ALL_WARNINGS
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#include <afxmt.h>
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
# include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <afxdialogex.h>
//#include <BCGCBProInc.h> // MFCro Control Bar
#include <LuaPlus.h>
#include <afxsock.h> // MFC socket extensions
#include <afx.h>
#include <afxpopupmenu.h>
#include <afxlistctrl.h>
#include <afxrich.h>
#include <afx.h>
#include <afxwin.h> // MFC ͱ
#include <afxext.h>
#include <afxlistctrl.h>
#include <afxtoolbarbutton.h>
#include <afxtoolbarimages.h>
#include <afxpopupmenu.h>
#include <afxDockablePane.h>
#include <afxdialogex.h>
#include <afxribbonbar.h>
#include <afxribbonpanel.h>
#include <afxribboncategory.h>
#include <afxRibbonProgressBar.h>
#include <afxtabctrl.h>
#include <afxdlgs.h>
#include <afxframewndex.h>
#include <afxribbonstatusbar.h>
#include <afxDockingManager.h>
#include <afxvisualmanager.h>
#include <afxvisualmanageroffice2007.h>
#include <afxvisualmanageroffice2003.h>
#include <afxvisualmanagerofficexp.h>
#include <afxvisualmanagervs2005.h>
#include <afxvisualmanagervs2008.h>
#include <afxvisualmanagerwindows.h>
#include <afxvisualmanagerwindows7.h>
#include <afxtempl.h>
#include <afxTabbedPane.h>
#include <afxstatusbar.h>
#include <afxeditbrowsectrl.h>
#include <afxribboncheckbox.h>
#include <afxribbonlabel.h>
#include "DialogBase.h"
#include <WindowsX.h>
#if defined _AFXDLL
# define BOOST_ALL_DYN_LINK
#endif
#include <boost/regex.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/bind.hpp>
#include <boost/type_traits.hpp>
#include <boost/type.hpp>
#include <boost/signals.hpp>
#include <boost/bind.hpp>
#include <boost/function.hpp>
#include <vector>
#include <string>
#include <list>
#include <set>
#include <algorithm>
#include <deque>
#include <hash_map>
#include "Def.h"
#include "DefMir.h"
#include <tinyxml.h>
#include "Resource.h"
#define WM_ADDLOG (WM_USER+1)
#define WM_DEBUGOUT (WM_ADDLOG+1)
#define WM_ADDCHAT (WM_DEBUGOUT+1)
#define RDTSC _asm _emit 0x0f _asm _emit 0x31
#pragma warning (push)
#pragma warning (disable: 4035)
inline unsigned __int64 timestamp()
{
__asm RDTSC
}
#pragma warning (pop)
inline bool operator==( const POINT&p1, const POINT&p2 )
{
return p1.x==p2.x && p1.y==p2.y;
}
inline BYTE GetDirect ( const POINT&start, const POINT&next )
{
POINT search;
for(BYTE i=0;i<8;i++)
{
search.x=start.x+xofs_walk[i];
search.y=start.y+yofs_walk[i];
if( search==next )
{
return i;
}
search.x+=xofs_walk[i];
search.y+=yofs_walk[i];
if( search==next )
{
return i | 0x8;
}
}
return 0xf0;
}
inline const char* GetDelphiString( const char* input, int size, char* buffer )
{
int len=*(input-1);
len=min(len,size);
memcpy(buffer,input,len);
buffer[len]=static_cast<char>(0);
return buffer;
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。