⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vbutil.h

📁 The code for this article was written for version 1.0 of the Active Template Library (ATL). The cu
💻 H
字号:
// VBUTIL.H

//@B VBUtil
#ifndef _VBUTIL_H_
#define _VBUTIL_H_

#include <windows.h> 
#include <io.h>
#include <iostream.h>
#include <strstrea.h>
#include "oletype.h"

// Temporary buffer size
const TEMP_MAX = 512;

#define DLLAPI  WINAPI // Currently evaluates to __stdcall

// Make ASSERT statement (fails in expressions where it shouldn't be used)
#if defined(DEBUG)
	#define ASSERT(f) \
		if (f)        \
			NULL;     \
		else          \
			assert(f) 
#else
	#define ASSERT(f) NULL
#endif

void ErrorHandler(Long e);
DWORD HResultToErr(Long e);

#endif // _VBUTIL_H_
//@E VBUtil

⌨️ 快捷键说明

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