home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / ipc / namepipe / npclient / client32.rc < prev    next >
Text File  |  1997-10-05  |  5KB  |  134 lines

  1.  
  2. //-----------------------------------------------------------------------------
  3. // This is a part of the Microsoft Source Code Samples. 
  4. // Copyright (C) 1993-1997 Microsoft Corporation.
  5. // All rights reserved. 
  6. //  
  7. // This source code is only intended as a supplement to 
  8. // Microsoft Development Tools and/or WinHelp documentation.
  9. // See these sources for detailed information regarding the 
  10. // Microsoft samples programs.
  11. //-----------------------------------------------------------------------------
  12.  
  13. #include "windows.h"
  14. #include "client32.h"
  15.  
  16. ClientDialog DIALOG 10, 20, 174, 155
  17. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION |
  18.     WS_SYSMENU | WS_MINIMIZEBOX
  19. CAPTION "Client Window"
  20. FONT 8, "Helv"
  21. BEGIN
  22.     DEFPUSHBUTTON   "Send", IDB_SEND, 2, 140, 40, 14
  23.     EDITTEXT        IDD_EDITWRITE, 2, 113, 171, 26, ES_MULTILINE | 
  24.                     ES_AUTOVSCROLL
  25.     EDITTEXT        IDD_EDITREAD, 2, 2, 171, 110, ES_MULTILINE | 
  26.                     ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL
  27. END
  28.  
  29.  
  30. InitDialog DIALOG 6, 18, 160, 79
  31. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  32. CAPTION "Client Initiation"
  33. FONT 8, "Helv"
  34. BEGIN
  35.     EDITTEXT        IDD_SVREDIT, 4, 14, 154, 12, ES_AUTOHSCROLL
  36.     LTEXT           "Enter Server Name (use '.' if local).",
  37.                       65535, 5, 4, 135, 8
  38.     LTEXT           "Enter Your Client Name.", 65535, 5, 36, 136, 8
  39.     EDITTEXT        IDD_CLNTEDIT, 4, 46, 154, 12, ES_AUTOHSCROLL
  40.     DEFPUSHBUTTON      "OK", IDB_INITOK, 61, 63, 40, 14
  41. END
  42.  
  43. STRINGTABLE
  44. BEGIN
  45.     IDS_CANTFINDPIPE    "CANNOT FIND PIPE: Assure Server32 is started, check share name."
  46.     IDS_GENERALERROR    "CreateFile() on pipe failed, see winerror.h error #%d."
  47.     IDS_DEBUGTITLE      "Debug Window"
  48.     IDS_CONNECTBROKEN   "The connection to this client has been broken."
  49.     IDS_READFAILED      "ReadFile() on pipe failed, see winerror.h error #%d"
  50.     IDS_CLIENTDBG       "Client: Debug"
  51. END
  52.  
  53. VS_VERSION_INFO VERSIONINFO
  54.  FILEVERSION 4,0,0,0
  55.  PRODUCTVERSION 4,0,0,0
  56.  FILEFLAGSMASK 0x3fL
  57. #ifdef _DEBUG
  58.  FILEFLAGS 0xbL
  59. #else
  60.  FILEFLAGS 0xaL
  61. #endif
  62.  FILEOS 0x10001L
  63.  FILETYPE 0x1L
  64.  FILESUBTYPE 0x0L
  65. BEGIN
  66.     BLOCK "StringFileInfo"
  67.     BEGIN
  68.         BLOCK "040904E4"
  69.         BEGIN
  70.             VALUE "CompanyName", "Microsoft Corporation\0"
  71.             VALUE "FileDescription", "Named Pipe Client Example Application\0"
  72.             VALUE "FileVersion", "Version 4.0\0"
  73.             VALUE "InternalName", "Client32\0"
  74.             VALUE "LegalCopyright", "Copyright (C) Microsoft Corp. 1990-1995\0"
  75.             VALUE "LegalTrademarks", "Microsoft(R) is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation\0"
  76.             VALUE "ProductName", "Client32\0"
  77.             VALUE "ProductVersion", "Version 4.0\0"
  78.         END
  79.         BLOCK "041104E4"
  80.         BEGIN
  81.             VALUE "CompanyName", "Microsoft Corporation\0"
  82.             VALUE "FileDescription", "Named Pipe Client Example Application\0"
  83.             VALUE "FileVersion", "Version 4.0\0"
  84.             VALUE "InternalName", "Client32\0"
  85.             VALUE "LegalCopyright", "Copyright (C) Microsoft Corp. 1990-1995\0"
  86.             VALUE "LegalTrademarks", "Microsoft(R) is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation\0"
  87.             VALUE "ProductName", "Client32\0"
  88.             VALUE "ProductVersion", "Version 4.0\0"
  89.         END
  90.     END
  91.     BLOCK "VarFileInfo"
  92.     BEGIN
  93.         VALUE "Translation", 0x409, 1252, 0x411, 1252
  94.     END
  95. END
  96.  
  97. LANGUAGE LANG_JAPANESE, SUBLANG_NEUTRAL
  98.  
  99. ClientDialog DIALOG 10, 20, 174, 155
  100. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION |
  101.     WS_SYSMENU | WS_MINIMIZEBOX
  102. CAPTION "âNâëâCâAâôâgü@âEâBâôâhâE"
  103. BEGIN
  104.     DEFPUSHBUTTON   "æùÉM", IDB_SEND, 2, 140, 40, 14
  105.     EDITTEXT        IDD_EDITWRITE, 2, 113, 171, 26, ES_MULTILINE | 
  106.                     ES_AUTOVSCROLL
  107.     EDITTEXT        IDD_EDITREAD, 2, 2, 171, 110, ES_MULTILINE | 
  108.                     ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL
  109. END
  110.  
  111.  
  112. InitDialog DIALOG 6, 18, 160, 79
  113. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  114. CAPTION "âNâëâCâAâôâgü@èJÄn"
  115. BEGIN
  116.     EDITTEXT        IDD_SVREDIT, 4, 14, 154, 12, ES_AUTOHSCROLL
  117.     LTEXT           "âTü[âoû╝ôⁿù═ (âìü[âJâïé╚éτ '.')",
  118.                       65535, 5, 4, 135, 8
  119.     LTEXT           "âNâëâCâAâôâgû╝ôⁿù═", 65535, 5, 36, 136, 8
  120.     EDITTEXT        IDD_CLNTEDIT, 4, 46, 154, 12, ES_AUTOHSCROLL
  121.     DEFPUSHBUTTON      "OK", IDB_INITOK, 61, 63, 40, 14
  122. END
  123.  
  124. STRINGTABLE
  125. BEGIN
  126.     IDS_CANTFINDPIPE    "âpâCâvé¬î⌐é┬é⌐éΦé▄é╣é±: Server32 é¬ïNô«é│éΩé─éóéΘé▒é╞é≡èmöFé╠ÅπüAâVâFâAâlü[âÇé≡â`âFâbâNé╡é─é¡é╛é│éóüB"
  127.     IDS_GENERALERROR    "âpâCâvé┼é╠ CreateFile() é¬Ä╕ösé╡é▄é╡é╜üBwinerror.h âtâ@âCâïé╠âGâëü[ #%d é≡ÄQÅ╞é╡é─é¡é╛é│éóüB"
  128.     IDS_DEBUGTITLE      "âfâoâbâOâEâBâôâhâE"
  129.     IDS_CONNECTBROKEN   "ÄwÆΦé╠âNâëâCâAâôâgé╞é╠É┌æ▒é═è∙é╔É╪Æfé│éΩé─éóé▄é╖üB"
  130.     IDS_READFAILED      "âpâCâvé┼é╠ ReadFile() é¬Ä╕ösé╡é▄é╡é╜üBwinerror.h âtâ@âCâïé╠âGâëü[ #%d é≡ÄQÅ╞é╡é─é¡é╛é│éóüB"
  131.     IDS_CLIENTDBG       "âNâëâCâAâôâg: âfâoâbâO"
  132. END
  133.  
  134.