STANDARD.C
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:11k
源码类别:
Windows编程
开发平台:
Visual C++
- //*---------------------------------------------------------------------------------
- //| ODBC System Administrator
- //|
- //| This code is furnished on an as-is basis as part of the ODBC SDK and is
- //| intended for example purposes only.
- //|
- //| Title: STANDARD.C
- //| This module contains standard functions which can be used by many
- //| different tools.
- //|
- //| The DumpDebugInfo function when enabled will cause all memory requests
- //| and frees to be written to a comma separated file. This file can then
- //| be queries via the sample Text ODBC Driver to find memory problems.
- //*---------------------------------------------------------------------------------
- #include "standard.h"
- #include <windowsx.h>
- #include <string.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include <stdarg.h>
- #include "errcheck.h"
- #include "strings.h"
- //*---------------------------------------------------------------------------------
- //| Global variables
- //*---------------------------------------------------------------------------------
- char OutStr[MAXBUFF];
- dCSEG(char) szui[] = "%u";
- dCSEG(char) szEmpty[] = "