home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 December
/
PCWorld_1998-12_cd.iso
/
software
/
sybase
/
ASA
/
asa60.exe
/
data1.cab
/
cxmp_files
/
example.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-07-27
|
1KB
|
59 lines
/* EXAMPLE.H Common header file for all examples
*/
extern int Displaytext( int, char*, ... );
extern void Display_systemerror( char * );
extern void Display_refresh( void );
extern void GetValue( char *, char *, int );
extern void GetTableName( char *, int );
extern int WSQLEX_Init( void );
extern void WSQLEX_Process_Command( int );
extern int WSQLEX_Finish( void );
#define IDM_HELP 101
#define IDM_PRINT 102
#define IDM_UP 103
#define IDM_DOWN 104
#define IDM_BOTTOM 105
#define IDM_TOP 106
#define IDM_QUIT 107
#define IDM_NAME 108
#define IDM_INSERT 109
#define IDE_STRING_EDIT 101
#if !defined( TRUE )
#define TRUE 1
#endif
#if !defined( FALSE )
#define FALSE 0
#endif
#define MAX_TABLE_NAME 50
#define NULL_TEXT "(NULL)"
#define NAME_LEN 50
#define MAX_FETCH_SIZE 50
#define NULL_TEXT_LEN ( sizeof( NULL_TEXT ) - 1 )
#define SCREEN_WIDTH 79
#if defined(_MSC_VER)
#if _MSC_VER >= 800
#define _exportkwd
#else
#define _exportkwd _export
#endif
#elif defined(__WATCOMC__)
#define _exportkwd __export
#else
#define _exportkwd _export
#endif
#if defined( MAC )
#define MY_NEWLINE '\r'
#define MY_NEWLINE_STR "\r\n"
#else
#define MY_NEWLINE '\n'
#define MY_NEWLINE_STR "\n"
#endif