sqlexec.h

来自「数据库开发」· C头文件 代码 · 共 15 行

H
15
字号
//SQLExec.h
#ifndef _INC_SQLExec
#define _INC_SQLExec

void WINAPI PrintComError(_com_error &e);
int StringToInt(CString s);
float StringToFloat(CString s);
COleDateTime StringToTime(CString s);
void ExecSQL(LPCTSTR strSql);

inline void TESTHR(HRESULT x){if FAILED(x) _com_issue_error(x);};
#define DATEFME CString("'%s'")

#endif

⌨️ 快捷键说明

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