home *** CD-ROM | disk | FTP | other *** search
/ Enter 1999 November / ENTER11_1.bin / WARSZTAT / SDKJava32.exe / data1.cab / fg_Samples / Samples / Native / JView / JView.rc < prev    next >
Encoding:
Text File  |  1999-03-17  |  7.4 KB  |  203 lines

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include <winnt.h>
  11. #include "jview.rcv"
  12. /////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17.  
  18. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  19. #ifdef _WIN32
  20. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  21. #pragma code_page(1252)
  22. #endif //_WIN32
  23.  
  24. #ifdef APSTUDIO_INVOKED
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // TEXTINCLUDE
  28. //
  29.  
  30. 1 TEXTINCLUDE DISCARDABLE
  31. BEGIN
  32.     "resource.h\0"
  33. END
  34.  
  35. 2 TEXTINCLUDE DISCARDABLE
  36. BEGIN
  37.     "#include <winnt.h>\r\n"
  38.     "#include ""jview.rcv""\0"
  39. END
  40.  
  41. 3 TEXTINCLUDE DISCARDABLE
  42. BEGIN
  43.     "\r\n"
  44.     "\0"
  45. END
  46.  
  47. #endif    // APSTUDIO_INVOKED
  48.  
  49.  
  50. /////////////////////////////////////////////////////////////////////////////
  51. //
  52. // Icon
  53. //
  54. // Separate icons for JView and WJview.  Appletviewer uses the JView icon.
  55. //
  56.  
  57. #ifdef NO_CONSOLE
  58. IDI_QUICKAPP            ICON    DISCARDABLE     "wjview.ico"
  59. #else
  60. IDI_QUICKAPP            ICON    DISCARDABLE     "jview.ico"
  61. #endif
  62.  
  63. /////////////////////////////////////////////////////////////////////////////
  64.  
  65.  
  66.  
  67.  
  68.  
  69. /////////////////////////////////////////////////////////////////////////////
  70. //
  71. // String Table
  72. //
  73.  
  74. STRINGTABLE DISCARDABLE
  75. BEGIN
  76.     IDS_OUTOFMEMORY         "Out of memory"
  77.     IDS_SCODE               "SCODE 0x%lx: Error message unavailable."
  78.     IDS_ERROR               "\nERROR: "
  79.     IDS_COULDNOTINITOLE     "Could not initialize Ole"
  80.     IDS_JAVAVM              "Could not locate Java virtual machine"
  81.     IDS_CLASSLOADER         "Could not obtain Java class loader"
  82.     IDS_NOPATHGIVEN         "No path given for %s switch"
  83.     IDS_INVALIDSWITCH       "Invalid command line switch: %s"
  84.     IDS_INVALIDPARAMETER    "Invalid parameter assignment: %s"
  85.     IDS_NOCLASSGIVEN        "No class file given"
  86.     IDS_UNKNOWNERROR        "Unknown error!"
  87.     IDS_EXECUTINGCLASS      "Could not execute %s"
  88.     IDS_PRESSANYKEY         "\nPress any key to continue..."
  89.     IDS_WJVIEW_TITLE_ERROR  "WJView Error"
  90.     IDS_WJVIEW_TITLE_HELP   "WJView Help"
  91.     IDS_NONAMESPACEGIVEN    "No namespace given for %s switch"
  92. END
  93.  
  94. STRINGTABLE DISCARDABLE
  95. BEGIN
  96.     IDS_MEMBERNOTFOUND      "Member not found.\r\n"
  97.     IDS_NOMAIN              "%s must have a method of the following form to be run using JView:\n\n\tpublic static void main(String args[])\n\nIf %s is an applet, you must specify the '/a' option or run it using a browser.\n"
  98.     IDS_NOJAVATHREAD        "Couldn't create thread."
  99.     IDS_PROPSNOTSUPPORTED   "The current version of the Java VM does not support custom system properties."
  100.     IDS_VERSION             VERSION
  101. END
  102.  
  103.  
  104. // AppletViewer system properties
  105.  
  106. STRINGTABLE DISCARDABLE
  107. BEGIN
  108.     IDS_WARN_NOAPPLETATTRS            "warning: applet tag with no attributes in %1"
  109.     IDS_WARN_NOPARAMATTRS             "warning: param tag with no attributes in %1"
  110.     IDS_WARN_INVALIDPARAM             "warning: missing name or value in applet parameter in %1"
  111.     IDS_WARN_NOCODE                   "warning: ignoring applet with no code in %1"
  112.     IDS_WARN_PARSEERROR               "warning: could not parse HTML in %1: %2"
  113.     IDS_WARN_NOAPPLETTAGS             "warning: HTML document %1 does not contain any applets"
  114.     IDS_WARN_URLNOTFOUND              "warning: could not open url %1"
  115.     IDS_WARN_FILENOTFOUND             "warning: could not open file or class %1"
  116.  
  117.     IDS_ERROR_NOAPPLETS               "No applets found or specified."
  118.     IDS_ERROR_UNEXPECTED              "Unexpected error:"
  119.  
  120.     IDS_APPLETVIEWER_USAGE            "usage: appletviewer [param=value ...] appletname  . . ."
  121.     IDS_APPLETVIEWER_TITLE            "Microsoft Applet Viewer"
  122.     IDS_APPLETVIEWER_LOADING          "(loading)"
  123.     IDS_APPLETVIEWER_HTMLTITLE        "HTML Source"
  124.     IDS_APPLETVIEWER_INFOTITLE        "Applet Info"
  125.     IDS_APPLETVIEWER_NOINFO           "(none)"
  126.  
  127.     IDS_MENU_APPLET                   "Applet"
  128.     IDS_MENU_RELOAD                   "Reload"
  129.     IDS_MENU_RESTART                  "Restart"
  130.     IDS_MENU_STOP                     "Stop"
  131.     IDS_MENU_START                    "Start"
  132.     IDS_MENU_HTML                     "HTML Source..."
  133.     IDS_MENU_INFO                     "Applet Info..."
  134.     IDS_MENU_CONSOLE                  "Show Console"
  135.     IDS_MENU_SECRELOAD                "Reload Security Settings"
  136.     IDS_MENU_QUIT                     "Quit"
  137. END
  138.  
  139.  
  140. #ifndef APPLETVIEWER
  141.  
  142. STRINGTABLE DISCARDABLE
  143. BEGIN
  144.  
  145. // A string preceeded by a '@' indicates that the string will be conditionally displayed.
  146.  
  147. #ifdef NO_CONSOLE
  148.     IDS_USAGE1              "\nUsage: WJView [options] <classname> [arguments]\n\n"
  149. #else
  150.     IDS_USAGE1              "\nUsage: JView [options] <classname> [arguments]\n\n"
  151. #endif
  152.     IDS_USAGE2              "Options:\n"
  153.     IDS_USAGE3              "    /?                 displays usage text\n"
  154.     IDS_USAGE4              "    /cp <classpath>    set class path\n"
  155.     IDS_USAGE5              "    /cp:p <path>       prepend path to class path\n"
  156.     IDS_USAGE6              "    /cp:a <path>       append path to class path\n"
  157.     IDS_USAGE7              "    /n <namespace>     namespace in which to run\n"
  158.     IDS_USAGE8              "    /p                 pauses before terminating if an error occurs\n"
  159.     IDS_USAGE9              "    /v                 verify all classes\n"
  160.     IDS_USAGE10             "    /d:<name>=<value>  define system property\n"
  161.     IDS_USAGE11             "    /a                 execute AppletViewer\n"
  162.     IDS_USAGE12             "    /vst               print verbose stack traces (requires debug classes)\n"
  163.     IDS_USAGE13             "@1    /prof[:options]    enable profiling\n"
  164.     IDS_USAGE14             "@2    /prof              enable profiling\n"
  165.     IDS_USAGE15             "\nClassname:\n    .CLASS file to be executed.\n\n"
  166.     IDS_USAGE16             "Arguments:\n    command-line arguments to be passed on to the class file\n"
  167.     IDS_USAGE17             "@3\n\nProfiling options:\n"
  168. // The '~' indicates the last resource string.
  169.     IDS_USAGELAST           "~"
  170.     IDS_BANNER1             "Microsoft (R) Command-line Loader for Java  Version %1u.%02u.%04u\n"
  171.     IDS_BANNER2             "(C) Copyright Microsoft Corporation 1995-%04u. All rights reserved.\n"
  172. END
  173.  
  174. STRINGTABLE DISCARDABLE
  175. BEGIN
  176.  
  177.     IDS_COULDNOTINITPROF    "Could not initialize the profiler.\n"
  178.     IDS_COULDNOTLOADPROF    "Could not locate a profiler.\n"
  179.     IDS_BADPROFPARAMS       "The profiling parameters are incorrect.\n"
  180.     IDS_NOPROFPARAMS        "The profiler does not accept parameters.\n"
  181.     IDS_COULDNOTREGPROF     "Could not enable profiling.\n"
  182.     IDS_WJVIEW_PROFTITLE    "WJView Profiler"
  183.  
  184. END
  185.  
  186. #endif // !APPLETVIEWER
  187.  
  188. #endif    // English (U.S.) resources
  189. /////////////////////////////////////////////////////////////////////////////
  190.  
  191.  
  192.  
  193. #ifndef APSTUDIO_INVOKED
  194. /////////////////////////////////////////////////////////////////////////////
  195. //
  196. // Generated from the TEXTINCLUDE 3 resource.
  197. //
  198.  
  199.  
  200. /////////////////////////////////////////////////////////////////////////////
  201. #endif    // not APSTUDIO_INVOKED
  202.  
  203.