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.

431 lines
14 KiB

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // Chinese (P.R.C.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
  17. #pragma code_page(936)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE DISCARDABLE
  25. BEGIN
  26. "resource.h\0"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE
  29. BEGIN
  30. "#include ""afxres.h""\r\n"
  31. "\0"
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE
  34. BEGIN
  35. "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  36. "#define _AFX_NO_OLE_RESOURCES\r\n"
  37. "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  38. "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  39. "\r\n"
  40. "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)\r\n"
  41. "#ifdef _WIN32\r\n"
  42. "LANGUAGE 4, 2\r\n"
  43. "#pragma code_page(936)\r\n"
  44. "#endif //_WIN32\r\n"
  45. "#include ""res\\convert.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
  46. "#include ""l.chs\\afxres.rc"" // Standard components\r\n"
  47. "#endif\r\n"
  48. "\0"
  49. END
  50. #endif // APSTUDIO_INVOKED
  51. /////////////////////////////////////////////////////////////////////////////
  52. //
  53. // Icon
  54. //
  55. // Icon with lowest ID value placed first to ensure application icon
  56. // remains consistent on all systems.
  57. IDR_MAINFRAME ICON DISCARDABLE "res\\convert.ico"
  58. /////////////////////////////////////////////////////////////////////////////
  59. //
  60. // Dialog
  61. //
  62. IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 243, 112
  63. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  64. CAPTION "���� ����ת����"
  65. FONT 9, "����"
  66. BEGIN
  67. ICON IDR_MAINFRAME,IDC_STATIC,13,13,20,20
  68. LTEXT "Microsoft(R) ����ת����",IDC_STATIC,43,16,94,11,
  69. SS_NOPREFIX
  70. LTEXT "��Ȩ���� (C) 2001",IDC_STATIC,43,43,128,16
  71. DEFPUSHBUTTON "ȷ��",IDOK,186,7,50,14,WS_GROUP
  72. LTEXT "�汾 1.0",IDC_STATIC,43,27,86,16,SS_NOPREFIX
  73. LTEXT "ʹ��˵��: ��ת�������� GB18030-2000 �����ļ��� Unicode �����ļ�֮���ı�����ʽת��",
  74. IDC_STATIC,43,67,164,25
  75. END
  76. IDD_CONVERT_DIALOG DIALOGEX 0, 0, 276, 163
  77. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  78. EXSTYLE WS_EX_APPWINDOW
  79. CAPTION "����ת����"
  80. FONT 9, "����", 0, 0, 0x1
  81. BEGIN
  82. LTEXT "Դ�ļ�:",IDC_STATIC,19,19,37,12
  83. EDITTEXT IDC_SOURCEFILENAME,58,19,129,15,ES_AUTOHSCROLL
  84. PUSHBUTTON "����...",IDC_OPENSOURCEFILE,203,19,50,14
  85. LTEXT "Ŀ���ļ�:",IDC_STATIC,19,45,37,12
  86. EDITTEXT IDC_TARGETFILENAME,58,45,129,15,ES_AUTOHSCROLL
  87. CONTROL "GB18030-2000 ת���� Unicode",IDC_GBTOUNICODE,"Button",
  88. BS_AUTORADIOBUTTON | WS_GROUP,28,88,123,10
  89. CONTROL "Unicode ת���� GB18030-2000",IDC_UNICODETOGB,"Button",
  90. BS_AUTORADIOBUTTON,28,102,123,10
  91. GROUPBOX " ѡ�� ",IDC_STATIC,19,73,174,48,WS_GROUP
  92. PUSHBUTTON "����...",IDC_ABOUT,87,128,50,14
  93. DEFPUSHBUTTON "ת��",IDC_CONVERT,147,128,50,14
  94. PUSHBUTTON "�˳�",IDCANCEL,207,128,50,14
  95. END
  96. #ifndef _MAC
  97. /////////////////////////////////////////////////////////////////////////////
  98. //
  99. // Version
  100. //
  101. VS_VERSION_INFO VERSIONINFO
  102. FILEVERSION 1,0,0,1
  103. PRODUCTVERSION 1,0,0,1
  104. FILEFLAGSMASK 0x3fL
  105. #ifdef _DEBUG
  106. FILEFLAGS 0x1L
  107. #else
  108. FILEFLAGS 0x0L
  109. #endif
  110. FILEOS 0x4L
  111. FILETYPE 0x1L
  112. FILESUBTYPE 0x0L
  113. BEGIN
  114. BLOCK "StringFileInfo"
  115. BEGIN
  116. BLOCK "080404b0"
  117. BEGIN
  118. VALUE "Comments", "\0"
  119. VALUE "CompanyName", "\0"
  120. VALUE "FileDescription", "GB �� Unicode ��ʽת������\0"
  121. VALUE "FileVersion", "1, 0, 0, 1\0"
  122. VALUE "InternalName", "convert\0"
  123. VALUE "LegalCopyright", "��Ȩ���� (C) 2001\0"
  124. VALUE "LegalTrademarks", "\0"
  125. VALUE "OriginalFilename", "GBUniCnv.EXE\0"
  126. VALUE "PrivateBuild", "\0"
  127. VALUE "ProductName", "GB �� Unicode ת����\0"
  128. VALUE "ProductVersion", "1, 0, 0, 1\0"
  129. VALUE "SpecialBuild", "\0"
  130. END
  131. END
  132. BLOCK "VarFileInfo"
  133. BEGIN
  134. VALUE "Translation", 0x804, 1200
  135. END
  136. END
  137. #endif // !_MAC
  138. /////////////////////////////////////////////////////////////////////////////
  139. //
  140. // DESIGNINFO
  141. //
  142. #ifdef APSTUDIO_INVOKED
  143. GUIDELINES DESIGNINFO DISCARDABLE
  144. BEGIN
  145. IDD_ABOUTBOX, DIALOG
  146. BEGIN
  147. LEFTMARGIN, 7
  148. RIGHTMARGIN, 236
  149. TOPMARGIN, 7
  150. BOTTOMMARGIN, 105
  151. END
  152. IDD_CONVERT_DIALOG, DIALOG
  153. BEGIN
  154. LEFTMARGIN, 7
  155. RIGHTMARGIN, 269
  156. TOPMARGIN, 7
  157. BOTTOMMARGIN, 156
  158. END
  159. END
  160. #endif // APSTUDIO_INVOKED
  161. /////////////////////////////////////////////////////////////////////////////
  162. //
  163. // String Table
  164. //
  165. STRINGTABLE DISCARDABLE
  166. BEGIN
  167. IDS_ABOUTBOX "���ڱ���ת����(&A)..."
  168. IDS_MEMOVERFLOW "�ڴ�����."
  169. IDS_UNRECFILETYPE "����: ����ʶ�� %s ���ļ�����. ��ת����ֻ֧�ִ��ı�(.txt)��Html ��ʽ"
  170. IDS_USEAGE "�÷�: GBUniCnv.EXE [/U|/G|/?|/H �ļ���1 [�ļ���2]]\n\nִ��GBUniCnv.EXEʱ��������, GBUniCnv.EXE ����ͼ��ģʽ����.\n\n�� �ļ���2 δ�ṩ, ��ת�������ļ���Ϊ �ļ���1.GB �� �ļ���1.Unicode \n\n/U �� /u ִ�� GB18030-2000 �� Unicode ��ת��.\n/G �� /g ִ�� Unicode �� GB18030-2000 ��ת��.\n/H �� /? ��ʾ������Ϣ."
  171. IDS_COPYFAIL "����: �����ļ� %s �� %s ʧ��"
  172. IDS_OPENSOURCEFILEFAIL "����: ����Դ�ļ� %s ʧ��"
  173. IDS_TARGETFILEEXIST "����: Ŀ���ļ� %s �Ѵ���"
  174. IDS_WRITEFILEERROR "����: д�ļ���."
  175. IDS_NOTUNICODETEXTFILE "����: ���򿪵�Դ�ļ����� Unicode ��ʽ���ļ�"
  176. IDS_NOTANSITEXTFILE "����: ���򿪵�Դ�ļ����� GB ��ʽ���ļ�"
  177. IDS_NOTRTFFILE "����: ���򿪵�Դ�ļ����� RTF ��ʽ���ļ�"
  178. IDS_CONVERTFINISH "ת������"
  179. IDS_CONVERTFAIL "ת��ʧ�ܣ��ļ���ʽ�������ڴ�����"
  180. END
  181. #endif // Chinese (P.R.C.) resources
  182. /////////////////////////////////////////////////////////////////////////////
  183. /////////////////////////////////////////////////////////////////////////////
  184. // English (U.S.) resources
  185. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  186. #ifdef _WIN32
  187. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  188. #pragma code_page(1252)
  189. #endif //_WIN32
  190. #ifdef APSTUDIO_INVOKED
  191. /////////////////////////////////////////////////////////////////////////////
  192. //
  193. // TEXTINCLUDE
  194. //
  195. 1 TEXTINCLUDE DISCARDABLE
  196. BEGIN
  197. "resource.h\0"
  198. END
  199. 2 TEXTINCLUDE DISCARDABLE
  200. BEGIN
  201. "#include ""afxres.h""\r\n"
  202. "\0"
  203. END
  204. 3 TEXTINCLUDE DISCARDABLE
  205. BEGIN
  206. "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  207. "#define _AFX_NO_OLE_RESOURCES\r\n"
  208. "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  209. "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  210. "\r\n"
  211. "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)\r\n"
  212. "#ifdef _WIN32\r\n"
  213. "LANGUAGE 4, 2\r\n"
  214. "#pragma code_page(936)\r\n"
  215. "#endif //_WIN32\r\n"
  216. "#include ""res\\convert.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
  217. "#include ""l.chs\\afxres.rc"" // Standard components\r\n"
  218. "#endif\r\n"
  219. "\0"
  220. END
  221. #endif // APSTUDIO_INVOKED
  222. /////////////////////////////////////////////////////////////////////////////
  223. //
  224. // Icon
  225. //
  226. // Icon with lowest ID value placed first to ensure application icon
  227. // remains consistent on all systems.
  228. IDR_MAINFRAME ICON DISCARDABLE "res\\convert.ico"
  229. /////////////////////////////////////////////////////////////////////////////
  230. //
  231. // Dialog
  232. //
  233. IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 243, 112
  234. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  235. CAPTION "About GBUniCnv"
  236. FONT 9, "Arial"
  237. BEGIN
  238. ICON IDR_MAINFRAME,IDC_STATIC,13,13,20,20
  239. LTEXT "Microsoft(R) GBUniCnv",IDC_STATIC,43,16,94,11,
  240. SS_NOPREFIX
  241. LTEXT "Copyright (C) 2001",IDC_STATIC,43,43,128,16
  242. DEFPUSHBUTTON "OK",IDOK,186,7,50,14,WS_GROUP
  243. LTEXT "Version 1.0",IDC_STATIC,43,27,86,16,SS_NOPREFIX
  244. LTEXT "Note: This tool is used to convert files' encoding format between GB18030-2000 and Unicode",
  245. IDC_STATIC,43,67,164,25
  246. END
  247. IDD_CONVERT_DIALOG DIALOGEX 0, 0, 276, 163
  248. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  249. EXSTYLE WS_EX_APPWINDOW
  250. CAPTION "GBUniCnv"
  251. FONT 9, "Arial", 0, 0, 0x1
  252. BEGIN
  253. LTEXT "Source file:",IDC_STATIC,19,19,37,12
  254. EDITTEXT IDC_SOURCEFILENAME,58,19,129,15,ES_AUTOHSCROLL
  255. PUSHBUTTON "Open...",IDC_OPENSOURCEFILE,203,19,50,14
  256. LTEXT "Target file:",IDC_STATIC,19,45,37,12
  257. EDITTEXT IDC_TARGETFILENAME,58,45,129,15,ES_AUTOHSCROLL
  258. CONTROL "Convert GB18030-2000 to Unicode",IDC_GBTOUNICODE,"Button",
  259. BS_AUTORADIOBUTTON | WS_GROUP,28,88,123,10
  260. CONTROL "Convert Unicode to GB18030-2000",IDC_UNICODETOGB,"Button",
  261. BS_AUTORADIOBUTTON,28,102,123,10
  262. GROUPBOX " Option ",IDC_STATIC,19,73,174,48,WS_GROUP
  263. PUSHBUTTON "About...",IDC_ABOUT,87,128,50,14
  264. DEFPUSHBUTTON "Convert",IDC_CONVERT,147,128,50,14
  265. PUSHBUTTON "Exit",IDCANCEL,207,128,50,14
  266. END
  267. #ifndef _MAC
  268. /////////////////////////////////////////////////////////////////////////////
  269. //
  270. // Version
  271. //
  272. VS_VERSION_INFO VERSIONINFO
  273. FILEVERSION 1,0,0,1
  274. PRODUCTVERSION 1,0,0,1
  275. FILEFLAGSMASK 0x3fL
  276. #ifdef _DEBUG
  277. FILEFLAGS 0x1L
  278. #else
  279. FILEFLAGS 0x0L
  280. #endif
  281. FILEOS 0x4L
  282. FILETYPE 0x1L
  283. FILESUBTYPE 0x0L
  284. BEGIN
  285. BLOCK "StringFileInfo"
  286. BEGIN
  287. BLOCK "080404b0"
  288. BEGIN
  289. VALUE "Comments", "\0"
  290. VALUE "CompanyName", "\0"
  291. VALUE "FileDescription", "GB and Unicode converter\0"
  292. VALUE "FileVersion", "1, 0, 0, 1\0"
  293. VALUE "InternalName", "convert\0"
  294. VALUE "LegalCopyright", "Copyright (C) 2001\0"
  295. VALUE "LegalTrademarks", "\0"
  296. VALUE "OriginalFilename", "GBUniCnv.EXE\0"
  297. VALUE "PrivateBuild", "\0"
  298. VALUE "ProductName", "GB and Unicode converter\0"
  299. VALUE "ProductVersion", "1, 0, 0, 1\0"
  300. VALUE "SpecialBuild", "\0"
  301. END
  302. END
  303. BLOCK "VarFileInfo"
  304. BEGIN
  305. VALUE "Translation", 0x804, 1200
  306. END
  307. END
  308. #endif // !_MAC
  309. /////////////////////////////////////////////////////////////////////////////
  310. //
  311. // DESIGNINFO
  312. //
  313. #ifdef APSTUDIO_INVOKED
  314. GUIDELINES DESIGNINFO DISCARDABLE
  315. BEGIN
  316. IDD_ABOUTBOX, DIALOG
  317. BEGIN
  318. LEFTMARGIN, 7
  319. RIGHTMARGIN, 236
  320. TOPMARGIN, 7
  321. BOTTOMMARGIN, 105
  322. END
  323. IDD_CONVERT_DIALOG, DIALOG
  324. BEGIN
  325. LEFTMARGIN, 7
  326. RIGHTMARGIN, 269
  327. TOPMARGIN, 7
  328. BOTTOMMARGIN, 156
  329. END
  330. END
  331. #endif // APSTUDIO_INVOKED
  332. /////////////////////////////////////////////////////////////////////////////
  333. //
  334. // String Table
  335. //
  336. STRINGTABLE DISCARDABLE
  337. BEGIN
  338. IDS_ABOUTBOX "About GBUniCnv(&A)..."
  339. IDS_MEMOVERFLOW "Memory overflow."
  340. IDS_UNRECFILETYPE "Error: Can't recognize file type of %s. The tool only support text and Html file"
  341. IDS_USEAGE "Usage: GBUniCnv.EXE [/U|/G|/?|/H Filename1 [Filename2]]\n\nWhen execute GBUniCnv.EXE without any parameter, the tool will start GUI mode.\n\nIf Filename2 is not provided, the tool should convert the file to Filename1.GB or FileName1.Unicode. \n\n/U or /u performing GB18030-2000 to Unicode conversion\n/G or /g performing Unicode to GB18030-2000 conversion\n/H or /? Displaying help message."
  342. IDS_COPYFAIL "Error: Fail to copy file %s to %s"
  343. IDS_OPENSOURCEFILEFAIL "Error: Fail to open source file %s"
  344. IDS_TARGETFILEEXIST "Error: Target file of %s already exist"
  345. IDS_WRITEFILEERROR "Error: Write file error."
  346. IDS_NOTUNICODETEXTFILE "Error: The source file you opened is not a Unicode file"
  347. IDS_NOTANSITEXTFILE "Error: The source file you opened is not a GB file"
  348. IDS_NOTRTFFILE "Error: The source file you opened is not a Rich Format Text file"
  349. IDS_CONVERTFINISH "Convert finished"
  350. IDS_CONVERTFAIL "Convert fail, file format is wrong or memory overflow"
  351. END
  352. #endif // English (U.S.) resources
  353. /////////////////////////////////////////////////////////////////////////////
  354. #ifndef APSTUDIO_INVOKED
  355. /////////////////////////////////////////////////////////////////////////////
  356. //
  357. // Generated from the TEXTINCLUDE 3 resource.
  358. //
  359. #define _AFX_NO_SPLITTER_RESOURCES
  360. #define _AFX_NO_OLE_RESOURCES
  361. #define _AFX_NO_TRACKER_RESOURCES
  362. #define _AFX_NO_PROPERTY_RESOURCES
  363. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  364. #ifdef _WIN32
  365. LANGUAGE 4, 2
  366. #pragma code_page(936)
  367. #endif //_WIN32
  368. #include "res\convert.rc2" // non-Microsoft Visual C++ edited resources
  369. #include "l.chs\afxres.rc" // Standard components
  370. #endif
  371. /////////////////////////////////////////////////////////////////////////////
  372. #endif // not APSTUDIO_INVOKED