stdafx.h

来自「Send SMS useing Com,it is simple」· C头文件 代码 · 共 44 行

H
44
字号
// 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__1E459E67_E3E6_11D2_B58A_00C04F8D1E60__INCLUDED_)
#define AFX_STDAFX_H__1E459E67_E3E6_11D2_B58A_00C04F8D1E60__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
#define WM_SENDONCE     WM_USER + 1000
#define WM_READDATAOVER	WM_USER + 1001
#define WM_RESET1        WM_USER + 1002
#undef EOF
// NOTE: UNCOMMENT FOLLOWING LINE IF USING MDAC 2.1 (ADO 2.1) and comment line with Msdasc.dll. 
//#import "C:\Program Files\Common Files\System\OLE DB\OLEDB32.dll" rename_namespace("dl20")

// NOTE: UNCOMMENT FOLLOWING LINE IF USING MDAC 2.0 (ADO 2.0) and comment above line. 
//#import "C:\Program Files\Common Files\System\OLE DB\Msdasc.dll" rename_namespace("dl20")

//Reason: Datalink connection string builder, was moved to oledb32.dll in ADO2.1 
//where as in ADO2.0 it was located in Msdasc.dll (ADO2.0)

#import "C:\Program Files\Common Files\SYSTEM\ADO\MSADO15.DLL" rename_namespace("ado20")
using namespace ado20;

void FGenerateError(HRESULT hr, PWSTR pwszDescription,CString decribe="");
BOOL DoExcute(CString Query_str,CString Conn_str);
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__1E459E67_E3E6_11D2_B58A_00C04F8D1E60__INCLUDED_)

⌨️ 快捷键说明

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