📄 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__3EF3F96C_F567_4757_B192_31022BB6AFE8__INCLUDED_)
#define AFX_STDAFX_H__3EF3F96C_F567_4757_B192_31022BB6AFE8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#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
//--------------------------------------------------------------------------------------------------------------
#include <Afxcview.h>
#include "globals.h"
//--------------------------------------------------------------------------------------------------------------
#include"Afxmt.h"
#include <ocidl.h>
#include <comcat.h>
#include <winsock2.h>
//#import "C:\WINNT\system32\OpcEnum.exe" no_namespace //根据OpcEnum.exe更改
//#import "C:\WINNT\system32\OPCComn_ps.dll" no_namespace //根据OpcEnum.exe更改
//--------------------------------------------------------------------------------------
//#include "OPC.h"
#include "OPCDA.h"
//#include "OPCDA_i.c"
#include "OPCEnum.h"
//#include "OPCEnum_i.c"
#include "OPCComn.h"
//#include "OPCComn_i.c"
#include "OPCErrors.h"
#include "OPCProps.h"
#include "OPCQuality.h"
//--------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------------------------
#define DEFBUFFSIZE _MAX_PATH
//---------------------------------------------------------------------------------------------
//#define _SCB_STYLE_FLAT ///平面类型还是VC的3D类型
#define _SCB_REPLACE_MINIFRAME ///浮动时候替换原来TOOL WINDOWS的框架
#include ".\rsc\sizecbar.h"
#define _ATL_APARTMENT_THREADED
#include <atlbase.h>
//You may derive a class from CComModule and use it if you want to override
//something, but do not change the name of _Module
class CTYOPCClientModule : public CComModule
{
public:
LONG Unlock();
LONG Lock();
DWORD dwThreadID;
};
extern CTYOPCClientModule _Module;
#include <atlcom.h>
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__3EF3F96C_F567_4757_B192_31022BB6AFE8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -