home *** CD-ROM | disk | FTP | other *** search
Wrap
#include "resource.h" #include <winnt.h> #include "jview.rcv" ///////////////////////////////////////////////////////////////////////////// // // TEXTINCLUDE // 1 TEXTINCLUDE DISCARDABLE BEGIN "resource.h\0" END 2 TEXTINCLUDE DISCARDABLE BEGIN "#include <winnt.h>\r\n" "#include ""jview.rcv""\0" END 3 TEXTINCLUDE DISCARDABLE BEGIN "\r\n" "\0" END ///////////////////////////////////////////////////////////////////////////// // // Icon // // Separate icons for JView and WJview. Appletviewer uses the JView icon. // #ifdef NO_CONSOLE IDI_QUICKAPP ICON DISCARDABLE "wjview.ico" #else IDI_QUICKAPP ICON DISCARDABLE "jview.ico" #endif ///////////////////////////////////////////////////////////////////////////// // // String Table // STRINGTABLE DISCARDABLE BEGIN IDS_OUTOFMEMORY "Out of memory" IDS_SCODE "SCODE 0x%lx: Error message unavailable." IDS_ERROR "\nERROR: " IDS_COULDNOTINITOLE "Could not initialize Ole" IDS_JAVAVM "Could not locate Java Virtual Machine" IDS_CLASSLOADER "Could not obtain Java class loader" IDS_NOPATHGIVEN "No path given for %s switch" IDS_INVALIDSWITCH "Invalid command line switch: %s" IDS_INVALIDPARAMETER "Invalid parameter assignment: %s" IDS_NOCLASSGIVEN "No class file given" IDS_UNKNOWNERROR "Unknown error!" IDS_EXECUTINGCLASS "Could not execute %s" IDS_PRESSANYKEY "\nPress any key to continue..." IDS_WJVIEW_TITLE_ERROR "WJView Error" IDS_WJVIEW_TITLE_HELP "WJView Help" IDS_NONAMESPACEGIVEN "No namespace given for %s switch" END STRINGTABLE DISCARDABLE BEGIN IDS_MEMBERNOTFOUND "Member not found.\r\n" 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" IDS_NOJAVATHREAD "Couldn't create thread." IDS_PROPSNOTSUPPORTED "The current version of the Java VM does not support custom system properties." IDS_VERSION VERSION END // AppletViewer system properties STRINGTABLE DISCARDABLE BEGIN IDS_WARN_NOAPPLETATTRS "warning: applet tag with no attributes in %1" IDS_WARN_NOPARAMATTRS "warning: param tag with no attributes in %1" IDS_WARN_INVALIDPARAM "warning: missing name or value in applet parameter in %1" IDS_WARN_NOCODE "warning: ignoring applet with no code in %1" IDS_WARN_PARSEERROR "warning: could not parse HTML in %1: %2" IDS_WARN_NOAPPLETTAGS "warning: HTML document %1 does not contain any applets" IDS_WARN_URLNOTFOUND "warning: could not open url %1" IDS_WARN_FILENOTFOUND "warning: could not open file or class %1" IDS_ERROR_NOAPPLETS "No applets found or specified." IDS_ERROR_UNEXPECTED "Unexpected error:" IDS_APPLETVIEWER_USAGE "usage: appletviewer [param=value ...] appletname . . ." IDS_APPLETVIEWER_TITLE "Microsoft Applet Viewer" IDS_APPLETVIEWER_LOADING "(loading)" IDS_APPLETVIEWER_HTMLTITLE "HTML Source" IDS_APPLETVIEWER_INFOTITLE "Applet Info" IDS_APPLETVIEWER_NOINFO "(none)" IDS_MENU_APPLET "Applet" IDS_MENU_RELOAD "Reload" IDS_MENU_RESTART "Restart" IDS_MENU_STOP "Stop" IDS_MENU_START "Start" IDS_MENU_HTML "HTML Source..." IDS_MENU_INFO "Applet Info..." IDS_MENU_CONSOLE "Show Console" IDS_MENU_SECRELOAD "Reload Security Settings" IDS_MENU_QUIT "Quit" END #ifndef APPLETVIEWER STRINGTABLE DISCARDABLE BEGIN #ifdef NO_CONSOLE IDS_USAGE1 "\nUsage: WJView [options] <classname> [arguments]\n\n" #else IDS_USAGE1 "\nUsage: JView [options] <classname> [arguments]\n\n" #endif IDS_USAGE2 "Options:\n" IDS_USAGE3 " /? displays usage text\n" IDS_USAGE4 " /cp <classpath> set class path\n" IDS_USAGE5 " /cp:p <path> prepend path to class path\n" IDS_USAGE6 " /cp:a <path> append path to class path\n" IDS_USAGE7 " /n <namespace> namespace in which to run\n" IDS_USAGE8 " /p pauses before terminating if an error occurs\n" IDS_USAGE9 " /v verify all classes\n" IDS_USAGE10 " /d:<name>=<value> define system property\n" IDS_USAGE11 " /a execute AppletViewer\n" IDS_USAGE12 " /vst print verbose stack traces (requires debug classes)\n" #ifdef PROFILER_HOOK IDS_USAGE13 " /prof[:options] enable profiling\n" #endif IDS_USAGE14 "\nClassname:\n .CLASS file to be executed.\n\n" IDS_USAGE15 "Arguments:\n command-line arguments to be passed on to the class file\n" // The '~' indicates the last resource string. IDS_USAGELAST "~" IDS_BANNER1 "Microsoft (R) Command-line Loader for Java Version %1u.%02u.%04u\n" IDS_BANNER2 "Copyright (C) Microsoft Corp 1996-%04u. All rights reserved.\n" END #ifdef PROFILER_HOOK STRINGTABLE DISCARDABLE BEGIN IDS_COULDNOTINITPROF "Could not initialize the profiler.\n" IDS_COULDNOTLOADPROF "Could not locate a profiler.\n" IDS_BADPROFPARAMS "The profiling parameters are incorrect.\n" IDS_NOPROFPARAMS "The profiler does not accept parameters.\n" IDS_COULDNOTREGPROF "Could not enable profiling.\n" IDS_WJVIEW_PROFTITLE "WJView Profiler" END #endif // PROFILER_HOOK #endif // !APPLETVIEWER