Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-131

Win64 build: //DS// fails to delete registry keys

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.2
    • None
    • None
    • Win64; I've only seen it on AMD64, but presumably it would also happen on ia64.

    Description

      When creating and accessing the configuration registry keys, the tool uses CreateRegKeyEx with the KEY_WOW64_32KEY flag, telling windows "Use the 32-bit hive instead of the 64-bit one". Maybe this was done so that 64-bit daemons could use the configuration from 32-bit ones?

      Anyway when it's time to go and delete the configuration from the registry it uses the ancient SHDeleteKey call, which tries to delete the key from the 64-bit hive, which fails, so the key is left behind.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jmorris Jesse Morris
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment