📄 stdafx.h
字号:
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__1E75BCE9_8D55_4AED_96AA_2E68BD3BCFE8__INCLUDED_)
#define AFX_STDAFX_H__1E75BCE9_8D55_4AED_96AA_2E68BD3BCFE8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#define KD_RTI //默认连KD-RTI
#define KDRTI_VERSION 7
#pragma warning(disable:4786)
#pragma warning(disable:4018)
#ifdef KD_RTI
#if KDRTI_VERSION < 7
#ifdef _DEBUG
#pragma comment(lib, "KDRTIamb6d.lib") //动态链接
#pragma message("自动链接动态库KDRTIamb6d.lib")
#pragma comment(lib, "libFedTimed.lib") //动态链接
#pragma message("自动链接动态库libFedTimed.lib")
#else
#pragma comment(lib, "KDRTIamb6r.lib") //动态链接
#pragma message("自动链接动态库KDRTIamb6r.lib")
#pragma comment(lib, "libFedTime.lib") //动态链接
#pragma message("自动链接动态库libFedTime.lib")
#endif // _DEBUG
#else
#ifdef _DEBUG
#pragma comment(lib, "KDRTIamb6d.lib") //动态链接
#pragma message("自动链接动态库KDRTIamb6d.lib")
#pragma comment(lib, "libFedTimed.lib") //动态链接
#pragma message("自动链接动态库libFedTimed.lib")
#else
#pragma comment(lib, "KDRTIamb6r.lib") //动态链接
#pragma message("自动链接动态库KDRTIamb6r.lib")
#pragma comment(lib, "libFedTime.lib") //动态链接
#pragma message("自动链接动态库libFedTime.lib")
#endif // _DEBUG
#endif // KDRTI_VERSION
#endif
#ifdef pRTI
#pragma comment(lib, "libFedTime.lib")
#pragma message("自动连接库libFedTime.lib")
#pragma comment(lib, "libRTI-NG.lib")
#pragma message("自动连接库libRTI-NG.lib")
#endif
#ifdef DMSO_RTI_13V6
#ifdef _DEBUG
#pragma comment(lib, "rti13d.lib")
#pragma message("自动连接库rti13d.lib")
#pragma comment(lib, "fedtimed.lib")
#pragma message("自动连接库fedtimed.lib")
#else
#pragma comment(lib, "rti13.lib")
#pragma message("自动连接库rti13.lib")
#pragma comment(lib, "fedtime.lib")
#pragma message("自动连接库fedtime.lib")
#endif
#pragma message("自动连接库ws2_32.lib")
#pragma comment(lib, "ws2_32.lib")
#endif
#ifdef DMSO_RTI_NG13V3
#ifdef _DEBUG
#pragma comment(lib, "libRTI-NGd.lib")
#pragma message("自动连接库libRTI-NGd.lib")
#pragma comment(lib, "libFedTimed.lib")
#pragma message("自动连接库libFedTimed.lib")
#else
#pragma comment(lib, "libRTI-NG.lib")
#pragma message("自动连接库libRTI-NG.lib")
#pragma comment(lib, "libFedTime.lib")
#pragma message("自动连接库libFedTime.lib")
#endif
#pragma message("自动连接库wsock32.lib")
#pragma comment(lib, "wsock32.lib")
#endif
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#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
#ifdef KD_RTI
#include <afxsock.h> // MFC socket extensions
#endif
#include <math.h>
#include <AFXTEMPL.H>
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__1E75BCE9_8D55_4AED_96AA_2E68BD3BCFE8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -