Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-2603

kernel32 error localization (planned?)

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • Tools
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      Example:
      start ROS, run CMD, "copy xyz" (or any other file that doesn't exist)
      -> ERROR_FILE_NOT_FOUND - The system cannot find the file specified.

      (from \obj-i386\dll\win32\kernel32\errcodes.rc)

      and that's because the error is retrieved in \base\shell\cmd\copy.c using GetLastError(). This error will always be displayed in english, overriding the chosen language.

      If I execute ROS CMD.exe in Windows trying the above I get a localized/translated error message. That makes me believe, that Windows passes translated GetLastError messages.
      Is that planned as well for ROS?

      Attachments

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              grschneider Gregor Schneider
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: