home *** CD-ROM | disk | FTP | other *** search
- #define IDMSTARTUSING 1
- #define IDMSTOPUSING 2
- #define IDMCATALOG 3
- #define IDMUNCATALOG 4
- #define IDMEXIT 5
- #define IDMQUERY 6
-
- #define CATALOGDIALOG 1
- #define UNCATLGDIALOG 2
- #define STARTDBDIALOG 3
- #define QUERYDBDIALOG 4
-
- #define IDNULL -1
- #define IDDDEFAULTS 0x0101
- #define IDDTEXT 0x0102
- #define IDDUNCATLG 0x010E
-
- #define IDDTEXT1 0x0201
- #define IDDTEXT2 0x0202
-
- #define IDSQUERY 1
- #define IDSSQLCODE 2
- #define IDSSUCCESS 3
- #define IDSFAILURE 4
- #define IDSDBDISC 5
- #define IDSDBCATLG 6
- #define IDSDBUNCATLG 7
- #define IDSDBCONNECT 8
- #define IDSBADSQLCA 9
- #define IDSALLOCERR 10
- #define IDSCONVERR 11
-
- #define WM_DEFINED 0x0400
-
- /***********************************************************************/
- /* These procedures must be declared FAR, even if this application */
- /* were SMALL model, because they are exported and called by windows. */
- /***********************************************************************/
- BOOL FAR PASCAL CatalogDlg (HWND, unsigned, WORD, LONG);
- BOOL FAR PASCAL UnCatalogDlg (HWND, unsigned, WORD, LONG);
- BOOL FAR PASCAL StartDBDlg (HWND, unsigned, WORD, LONG);
- BOOL FAR PASCAL QueryDBDlg (HWND, unsigned, WORD, LONG);
- short err( HWND hWnd, short rc, struct sqlca far * ca );
-
- /*****************************************************************************/
- /* STRUCTURES */
- /*****************************************************************************/
- #define FILENAME_SZ 75
- #define DBNAME_SZ 9
- #define TNAME_SZ 19
- #define MAX_SELECT_STMT_SZ 1024
- #define BUFSIZE 512
-