home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_02_12 / 2n12024a < prev    next >
Text File  |  1991-11-02  |  678b  |  35 lines

  1. #include "windows.h"
  2.  
  3. #define X_IN_WIN   0x0601
  4. #define X_OUT_WIN  0x0602
  5. #define X_SEND     0x0603
  6. #define X_CLEAR    0x0604
  7. #define X_END_DLG  0x0605
  8.  
  9. #define MAXBUFLEN   1024
  10. #define MAXSTATELEN  255
  11.  
  12. HMENU   hMainMenu;
  13. HDC     hDC;
  14. FARPROC procAddr;
  15. HCURSOR waitCursor;
  16. HCURSOR arrowCursor;
  17.  
  18. /* ddpath and datapath should be
  19.    changed to reflect the location
  20.    of the data dictionaries */
  21.  
  22. char ddpath   [  ] = "c:\\";
  23. char datapath [  ] = "c:\\";
  24.  
  25. char userid    [ ] = "\0";
  26. char password  [ ] = "\0";
  27. char sReserved [ ] = "\0";
  28. int  iReserved     = 0;
  29.  
  30. char *buffer;
  31. char statement [255];
  32. int  cursorID = -1;
  33. int  statlen;
  34. int  status;
  35.