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

calc.exe: minor changes in save_config

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:

      Description

      When saving the settings to the registry, RegCreateKeyEx should be used to open the releated key
      instead of RegOpenKeyEx, otherwise the settings are not saved if the key doesn't already exist.
      Also, since the function only creates/sets values, the requested access rights should be
      KEY_SET_VALUE instead of KEY_ALL_ACCESS. Otherwise saving the settings may fail if the user
      doesn't have full access rights to the key in question.

        Attachments

          Activity

            People

            • Assignee:
              bug zilla Bug Zilla
              Reporter:
              Forever Winter Forever Winter
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: