Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows API
  4. Problem with RegOpenKeyEx() in Vista

Problem with RegOpenKeyEx() in Vista

Scheduled Pinned Locked Moved Windows API
jsonhelp
5 Posts 3 Posters 17 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aryan S
    wrote on last edited by
    #1

    I want to write reg value in HKLM in windows Vista. But RegOpenKeyEx() API is failing. I am using access rights as KEY_READ | KEY_WRITE. Please give some suggestion.

    K realJSOPR 2 Replies Last reply
    0
    • A Aryan S

      I want to write reg value in HKLM in windows Vista. But RegOpenKeyEx() API is failing. I am using access rights as KEY_READ | KEY_WRITE. Please give some suggestion.

      K Offline
      K Offline
      KarstenK
      wrote on last edited by
      #2

      UAC. You must elevate this process to admin. Read the fine manual.

      Greetings from Germany

      A 1 Reply Last reply
      0
      • K KarstenK

        UAC. You must elevate this process to admin. Read the fine manual.

        Greetings from Germany

        A Offline
        A Offline
        Aryan S
        wrote on last edited by
        #3

        Where is the manual?

        K 1 Reply Last reply
        0
        • A Aryan S

          Where is the manual?

          K Offline
          K Offline
          KarstenK
          wrote on last edited by
          #4

          As ever on the website of MS: http://technet.microsoft.com/en-us/windowsvista/aa905108.aspx[^]

          Greetings from Germany

          1 Reply Last reply
          0
          • A Aryan S

            I want to write reg value in HKLM in windows Vista. But RegOpenKeyEx() API is failing. I am using access rights as KEY_READ | KEY_WRITE. Please give some suggestion.

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #5

            Another good reason to stick with INI files.

            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups