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.

132 lines
6.3 KiB

  1. /*
  2. Filename : softpc.rc
  3. Purpose : Contains resource file definition for softpc
  4. Author : D.A.Bartlett
  5. Contains :
  6. Error Panel dialog and icon
  7. SoftPC Icon
  8. String resource table
  9. Revision History :
  10. */
  11. /*:::::::::::::::::::::::::::::: Manifests used to generate resource binary */
  12. #include <windows.h>
  13. #include "nt_uis.h"
  14. #include "error.h"
  15. #include "host_rrr.h"
  16. /*
  17. * resource compiler can't handle MAKEINTRESOURCE 08-May-1993 Jonle
  18. */
  19. #undef IDI_HAND
  20. #define IDI_HAND 32513
  21. /*::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Error Panel */
  22. ERRORPANEL DIALOG 0, 0, 240, 87
  23. STYLE WS_VISIBLE | WS_POPUP | WS_CAPTION | DS_MODALFRAME | DS_SETFOREGROUND | WS_SYSMENU
  24. FONT 8 "MS Shell Dlg"
  25. CAPTION "16 bit MS-DOS Subsystem"
  26. BEGIN
  27. ICON IDI_HAND, IDE_ICON, 6, 24, 18, 20
  28. LTEXT "", IDE_APPTITLE, 30, 6, 200,24
  29. LTEXT "", IDE_ERRORMSG, 30, 30, 200,32
  30. EDITTEXT, IDE_EDIT 30, 42, 200,12, WS_GROUP| WS_TABSTOP | WS_BORDER | ES_AUTOHSCROLL | ES_LEFT
  31. PUSHBUTTON "&Terminate",IDB_QUIT, 0, 64, 40, 16, WS_TABSTOP
  32. PUSHBUTTON "&Retry", IDB_RETRY, 0, 64, 40, 16, WS_TABSTOP
  33. PUSHBUTTON "&Ignore", IDB_CONTINUE, 0, 64, 40, 16, WS_TABSTOP
  34. PUSHBUTTON "OK", IDB_OKEDIT, 200, 64, 40, 16, WS_TABSTOP
  35. END
  36. /* obsolete */
  37. /* EG_GATE_A20, "Extended Memory has not been configured."*/
  38. /* EG_BAD_COMMS_NAME, "The communications name is invalid."*/
  39. /* EG_BAD_CONF, "The configuration file entry shown below has an invalid value." */
  40. /* EG_DATE_BACK, "The date has been set backward. The VDM date may be incorrect." */
  41. /* EG_DATE_FWD, "The date has been set forward, or the system frozen for a period. The VDM date may be incorrect." */
  42. /* D_A_OLDPIF, "use an obsolete PIF format" */
  43. /* EG_EMM_CONFIG, "Your machine configuration will not support Expanded Memory." */
  44. /* EG_NO_REZ_UPDATE, "The CMOS file cmos.ram could not be created." */
  45. /* EG_REZ_UPDATE, "The CMOS file cmos.ram could not be updated." */
  46. STRINGTABLE
  47. {
  48. /* First, Base errors (range 0 - ) */
  49. EG_BAD_OP, "The NTVDM CPU has encountered an illegal instruction."
  50. EG_OWNUP, "Internal error in NTVDM procedure."
  51. EG_NO_ROM_BASIC, "NTVDM does not support a ROM BASIC."
  52. EG_EXPANDED_MEM_FAILURE, "Failure to allocate the requested number of Expanded Memory pages."
  53. EG_CONT_RESET, "A continuous RESET state has been entered."
  54. EG_MALLOC_FAILURE, "The memory resources needed by NTVDM could not be allocated."
  55. EG_SYS_MISSING_FILE, "An installation file required by NTVDM is missing, execution must terminate."
  56. EG_INSUF_MEMORY, "Insufficient memory resources."
  57. EG_PIF_BAD_FORMAT, "PIF file not found or bad file format."
  58. EG_PIF_STARTDIR_ERR, "Invalid startup directory, please check your pif file."
  59. EG_PIF_STARTFILE_ERR,"Invalid program file name, please check your pif file."
  60. EG_PIF_CMDLINE_ERR, "Command line too long."
  61. EG_PIF_ASK_CMDLINE, "Please input parameters for the application:"
  62. EG_ENVIRONMENT_ERR, "Error while setting up environment for the application."
  63. EG_BAD_OP386, "The NTVDM CPU has encountered an unsupported 386 instruction."
  64. EG_BAD_EMM_LINE, "The EMM command line in your config.nt contains invalid parameters or syntax errors."
  65. EG_BAD_FAULT, "The NTVDM CPU has encountered an unhandled exception."
  66. EG_DOS_PROG_EXTENSION,"\nThe file is not a valid MS-DOS program file.\n MS-DOS program files must end with the extension .EXE, .COM, or .BAT."
  67. /* Direct Access panel strings */
  68. D_A_MESS, "An application has attempted to %s, which cannot be supported. This may cause the application to function incorrectly."
  69. D_A_FLOPPY, "directly access an incompatible diskette format"
  70. D_A_HARDDISK, "directly access the hard disk"
  71. D_A_DRIVER, "load a 16-bit Dos device driver"
  72. D_A_ILLBOP, "perform an unknown internal 'BOP' opcode"
  73. D_A_NOLIM, "allocate Expanded Memory"
  74. D_A_MOUSEDRVR "use a third party mouse driver"
  75. ED_WOWPROMPT, "Choose 'Close' to terminate the application."
  76. ED_WOWTITLE, "16 bit Windows Subsystem"
  77. ED_DOSTITLE "16 bit MS-DOS Subsystem"
  78. ED_BADSYSFILE,"The system file is not suitable for running MS-DOS and Microsoft Windows applications."
  79. ED_INITMEMERR, "Memory error during intialization."
  80. ED_INITTMPFILE,"A temporary file needed for initialization could not be created or could not be written to. Make sure that the directory path exists, and disk space is available."
  81. ED_INITFSCREEN, "The video device failed to initialize for fullscreen mode."
  82. ED_MEMORYVDD, "Insufficient memory to load installable Virtual Device Drivers."
  83. ED_REGVDD, "Virtual Device Driver format in the registry is invalid."
  84. ED_LOADVDD, "An installable Virtual Device Driver failed Dll initialization."
  85. ED_LOCKDRIVE, "Unable to lock for exclusive access. Another application may be using the drive. When the other application has finished using the drive you may retry the operation."
  86. ED_DRIVENUM, "Drive %c: "
  87. ED_INITGRAPHICS, "The Application attempted to enable DOS graphics mode. DOS graphics mode is not supported."
  88. ED_FORMATSTR0, "%s %lxh"
  89. ED_FORMATSTR1, "\n%s"
  90. ED_FORMATSTR2, "%s"
  91. ED_FORMATSTR3, "%s\n"
  92. SM_HIDE_MOUSE, "&Hide Mouse Pointer"
  93. SM_DISPLAY_MOUSE, "&Display Mouse Pointer"
  94. IDS_BURRRR, " - FROZEN"
  95. EXIT_NO_CLOSE, "Inactive "
  96. /* Host Errors range (1000 - ??)*/
  97. EHS_FUNC_FAILED, "Function failed"
  98. EHS_SYSTEM_ERROR, "NTVDM has encountered a System Error"
  99. EHS_UNSUPPORTED_BAUD, "Driver does not support selected Baud Rate"
  100. EHS_ERR_OPENING_COM_PORT, "The system cannot open %s port requested by the application."
  101. }
  102. #include <ntverp.h>
  103. #define VER_FILETYPE VFT_DLL
  104. #define VER_FILESUBTYPE VFT2_UNKNOWN
  105. #define VER_FILEDESCRIPTION_STR "NTVDM.EXE"
  106. #define VER_INTERNALNAME_STR "NTVDM.EXE\0"
  107. #include "common.ver"