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

calc.exe: minor changes in save_config

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 0.4.0
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: