Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

233 lines
6.7 KiB

  1. /****************************************************************************/
  2. /* robocli.rc */
  3. /* */
  4. /* RoboClient scalability testing utility resource file */
  5. /* */
  6. /* Copyright (c) 1999 Microsoft Corporation */
  7. /****************************************************************************/
  8. #include <windows.h>
  9. // Version info
  10. #include <ntverp.h>
  11. #define VER_FILETYPE VFT_APP
  12. #define VER_FILESUBTYPE VFT2_UNKNOWN
  13. #define VER_FILEDESCRIPTION_STR "Terminal Services RoboClient"
  14. #define VER_INTERNALNAME_STR "robocli"
  15. #define VER_ORIGINALFILENAME_STR "robocli.exe"
  16. VS_VERSION_INFO VERSIONINFO
  17. FILEVERSION 5,0,2080,1
  18. PRODUCTVERSION 5,0,2080,1
  19. FILEFLAGSMASK 0x3fL
  20. #ifdef _DEBUG
  21. FILEFLAGS 0x9L
  22. #else
  23. FILEFLAGS 0x8L
  24. #endif
  25. FILEOS 0x40004L
  26. FILETYPE 0x1L
  27. FILESUBTYPE 0x0L
  28. BEGIN
  29. END
  30. //Microsoft Developer Studio generated resource script.
  31. //
  32. #include "resource.h"
  33. //#define APSTUDIO_READONLY_SYMBOLS
  34. /////////////////////////////////////////////////////////////////////////////
  35. //
  36. // Generated from the TEXTINCLUDE 2 resource.
  37. //
  38. /////////////////////////////////////////////////////////////////////////////
  39. //#undef APSTUDIO_READONLY_SYMBOLS
  40. /////////////////////////////////////////////////////////////////////////////
  41. // English (U.S.) resources
  42. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  43. #ifdef _WIN32
  44. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  45. #pragma code_page(1252)
  46. #endif //_WIN32
  47. /////////////////////////////////////////////////////////////////////////////
  48. //
  49. // Dialog
  50. //
  51. IDD_ROBOCLIENT DIALOG DISCARDABLE 0, 0, 227, 135
  52. STYLE DS_SETFOREGROUND | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION |
  53. WS_SYSMENU
  54. CAPTION "RoboClient"
  55. CLASS "RoboClient"
  56. FONT 8, "MS Shell Dlg"
  57. BEGIN
  58. EDITTEXT IDC_SERVNAMEEDIT,7,18,213,13,ES_AUTOHSCROLL | WS_TABSTOP
  59. DEFPUSHBUTTON "Connect",IDOK,7,35,50,14, WS_TABSTOP
  60. PUSHBUTTON "Disconnect",IDDISCONNECT,88,35,50,14, WS_TABSTOP
  61. PUSHBUTTON "Cancel",IDCANCEL,169,35,50,14, WS_TABSTOP
  62. LTEXT "Test Master Server Name:",IDC_STATIC1,7,7,111,8
  63. LTEXT "Main status line",IDC_ERRORTEXT,7,55,213,9
  64. GROUPBOX "Connection status",IDC_STATIC2,7,69,213,59
  65. LTEXT "Connection 1 status",IDC_CONN1,15,78,196,8
  66. LTEXT "Connection 2 status",IDC_CONN2,15,88,196,8
  67. LTEXT "Connection 3 status",IDC_CONN3,15,98,196,8
  68. LTEXT "Connection 4 status",IDC_CONN4,15,108,196,8
  69. LTEXT "Connection 5 status",IDC_CONN5,15,118,196,8
  70. END
  71. /////////////////////////////////////////////////////////////////////////////
  72. //
  73. // DESIGNINFO
  74. //
  75. #ifdef APSTUDIO_INVOKED
  76. GUIDELINES DESIGNINFO DISCARDABLE
  77. BEGIN
  78. IDD_ROBOCLIENT, DIALOG
  79. BEGIN
  80. LEFTMARGIN, 7
  81. RIGHTMARGIN, 220
  82. TOPMARGIN, 7
  83. BOTTOMMARGIN, 128
  84. END
  85. END
  86. #endif // APSTUDIO_INVOKED
  87. #ifdef APSTUDIO_INVOKED
  88. /////////////////////////////////////////////////////////////////////////////
  89. //
  90. // TEXTINCLUDE
  91. //
  92. 1 TEXTINCLUDE DISCARDABLE
  93. BEGIN
  94. "resource.h\0"
  95. END
  96. 2 TEXTINCLUDE DISCARDABLE
  97. BEGIN
  98. "#include ""afxres.h""\r\n"
  99. "\0"
  100. END
  101. 3 TEXTINCLUDE DISCARDABLE
  102. BEGIN
  103. "\r\n"
  104. "\0"
  105. END
  106. #endif // APSTUDIO_INVOKED
  107. /////////////////////////////////////////////////////////////////////////////
  108. //
  109. // Icon
  110. //
  111. // Icon with lowest ID value placed first to ensure application icon
  112. // remains consistent on all systems.
  113. RoboClient ICON DISCARDABLE "robocli.ico"
  114. #endif // English (U.S.) resources
  115. /////////////////////////////////////////////////////////////////////////////
  116. #ifndef APSTUDIO_INVOKED
  117. /////////////////////////////////////////////////////////////////////////////
  118. //
  119. // Generated from the TEXTINCLUDE 3 resource.
  120. //
  121. /////////////////////////////////////////////////////////////////////////////
  122. #endif // not APSTUDIO_INVOKED
  123. STRINGTABLE
  124. BEGIN
  125. IDS_NOTCONNECTED
  126. "Not connected"
  127. IDS_WINSOCKNOINIT
  128. "Windows Sockets did not initialize!"
  129. IDS_FATALERROR
  130. "Fatal Error"
  131. IDS_WELCOME
  132. "Welcome to RoboClient!"
  133. IDS_CANTSETTIMER
  134. "Unable to set timer"
  135. IDS_CONNECTALL
  136. "Connect all"
  137. IDS_ERRORDOINGCONNECT
  138. "Error doing connect"
  139. IDS_DISCONNECTALL
  140. "Disconnect all"
  141. IDS_SOCKNOTFOUND
  142. "Internal error: socket disconnected but not found"
  143. IDS_SERVERENDEDCONN
  144. "Not connected - server ended connection"
  145. IDS_CANTLOCATESOCKINFO
  146. "Fatal error on read: Unable to locate socket information"
  147. IDS_DATAREADY
  148. "Data ready"
  149. IDS_SOCKERR
  150. "SOCKET ERROR ON READ"
  151. IDS_UPDATINGCLIENT
  152. "Updating client"
  153. IDS_CANTRUNUPDATE
  154. "Error trying to run client update script"
  155. IDS_REBOOTINGCLIENT
  156. "Rebooting client machine. Waiting for shutdown"
  157. IDS_ERRORREBOOTING
  158. "Error trying to reboot client machine"
  159. IDS_ERRGETTINGSTUFF
  160. "Error getting scriptname and servername"
  161. IDS_ERRGETTINGUSERNAME
  162. "Error getting user name"
  163. IDS_ERRORRUNNINGCREATE
  164. "Error running create.cmd"
  165. IDS_SENDERRSENDINGERR
  166. "send error sending create error message"
  167. IDS_NOWRUNNING
  168. "Now running %s on %s"
  169. IDS_ERRRUNNING
  170. "Error trying to run %s on %s"
  171. IDS_SENDERRSENDINGSMERR
  172. "send error sending smclient error message"
  173. IDS_SENDERRSENDINGSUCCESS
  174. "send error sending success"
  175. IDS_ROBOCLI_SYNTAX
  176. "Syntax: ""robocli [-s:<test controller>]"""
  177. IDS_ROBOCLI_SYNTAX_TITLE
  178. "Argument error"
  179. IDS_UNKNOWNHOST
  180. "Unknown host or DNS error"
  181. IDS_INETADDRERR
  182. "inet_addr error"
  183. IDS_MAKINGINITCONN
  184. "making initial connection to server..."
  185. IDS_CONNECTING
  186. "connecting..."
  187. IDS_SOCKETERR
  188. "socket error"
  189. IDS_UNABLETOCONNECT
  190. "Unable to connect to %s"
  191. IDS_INVALIDCONNECTIONSFROMSERVER
  192. "Error: RoboServer sent invalid number of connections"
  193. IDS_CONNECTEDNCONNECTIONS
  194. "Connected, %d connections requested"
  195. IDS_CONNECTED
  196. "Connected [%d]"
  197. IDS_ROBOCLIALREADYRUNNING
  198. "Error: Only one instance of RoboClient may be run at a time"
  199. END