stdafx.h

来自「监控SQL Server2000数据库」· C头文件 代码 · 共 41 行

H
41
字号
// 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__0B5BEE51_3A62_4404_93EE_F60A0FFF5A81__INCLUDED_)
#define AFX_STDAFX_H__0B5BEE51_3A62_4404_93EE_F60A0FFF5A81__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

//错误小于0
#define ERROR_NOT_CONNECT_DATABASE -1
#define ERROR_SQL_STRING_IS_EMPTY -2
#define ERROR_COM -3
#define ERROR_UNKONWN -4

//提示以1开头
#define HAVE_RECORDS 1001
#define NO_RECORDS 1002 

#define EVERYTHING_OK 6666

#import "c:\program files\common files\system\ado\msado15.dll" no_namespace rename("EOF", "adoEOF")

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__0B5BEE51_3A62_4404_93EE_F60A0FFF5A81__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?