home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Total C++ 2
/
TOTALCTWO.iso
/
borland
/
32addres.pak
/
MACRO.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-05-06
|
808b
|
27 lines
// BDE32 3.x - (C) Copyright 1996 by Borland International
#ifndef __MACRO_H
#define __MACRO_H
#define CHKERR(parm) DBIError(__FILE__, __LINE__, \
#parm, parm) ; \
if (GlobalDBIErr) { \
return GlobalDBIErr ;}
#define CHKERR_CLEANUP(parm) DBIError(__FILE__, __LINE__, \
#parm, parm) ; \
if (GlobalDBIErr) { \
goto CleanUp ;}
#define CHKERR_NODISPLAY(parm) if (parm) { \
goto CleanUp ;}
#define CLEANUP(parm) { GlobalDBIErr = parm;\
goto CleanUp ;}
extern DBIResult GlobalDBIErr;
DBIResult DBIError(pCHAR, UINT16, pCHAR, DBIResult);
#endif