Client.h
上传用户:dq031136
上传日期:2022-08-08
资源大小:802k
文件大小:1k
源码类别:

VC书籍

开发平台:

C++ Builder

  1. // Various buffer sizes
  2. #define IN_BUF_SIZE        1000
  3. #define OUT_BUF_SIZE       1000
  4. #define PLEASE_READ        1000
  5. #define PLEASE_WRITE       1000
  6. #define LINE_LEN           80
  7. #define NAME_SIZE          25
  8. // For the Client dialog box.
  9. #define IDB_SEND           904
  10. #define IDD_EDITWRITE      905
  11. #define IDD_EDITREAD       906
  12. // For the Init dialog box.
  13. #define IDD_SVREDIT        701
  14. #define IDB_INITOK         705
  15. #define IDD_CLNTEDIT       704
  16. #define WM_APP             0x8000
  17. #define WM_INITCLIENT      WM_APP
  18. #define WM_GO_AWAY         WM_APP+1
  19. // Stringtable identifiers
  20. #define IDS_CANTFINDPIPE    100
  21. #define IDS_GENERALERROR    101
  22. #define IDS_DEBUGTITLE      102
  23. #define IDS_CONNECTBROKEN   103
  24. #define IDS_READFAILED      104
  25. #define IDS_CLIENTDBG       105
  26. LONG CALLBACK MainWndProc   (HWND, UINT, WPARAM, LPARAM);
  27. LONG CALLBACK ClientDlgProc (HWND, UINT, WPARAM, LPARAM);
  28. LONG CALLBACK InitDlgProc   (HWND, UINT, WPARAM, LPARAM);
  29. VOID          ReadPipe      (HANDLE *);