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. C / C++ / MFC
  4. RegGetValue / Win32

RegGetValue / Win32

Scheduled Pinned Locked Moved C / C++ / MFC
graphicshelp
6 Posts 4 Posters 0 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.
  • F Offline
    F Offline
    Fareed Rizkalla
    wrote on last edited by
    #1

    Gave a program for a friend to test, as soon as he launched he was notified with this error. The procedure entry point RegGetValueW could not be located in the dynamic link library ADVAPI32.dll. I went back to the drawing board only to find out that it is only called after the user has interacted with the program. So it's not something I'm doing during startup of the application!

    L J 2 Replies Last reply
    0
    • F Fareed Rizkalla

      Gave a program for a friend to test, as soon as he launched he was notified with this error. The procedure entry point RegGetValueW could not be located in the dynamic link library ADVAPI32.dll. I went back to the drawing board only to find out that it is only called after the user has interacted with the program. So it's not something I'm doing during startup of the application!

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      There is a call somewhere in your program to this function. The program loader checks all calls at initialisation to ensure the program can execute correctly. It appears that your friend's PC must have a very old (i.e. non Unicode) version of the system libraries.

      Just say 'NO' to evaluated arguments for diadic functions! Ash

      1 Reply Last reply
      0
      • F Fareed Rizkalla

        Gave a program for a friend to test, as soon as he launched he was notified with this error. The procedure entry point RegGetValueW could not be located in the dynamic link library ADVAPI32.dll. I went back to the drawing board only to find out that it is only called after the user has interacted with the program. So it's not something I'm doing during startup of the application!

        J Offline
        J Offline
        Jonathan Davies
        wrote on last edited by
        #3

        The Requirements for RegGetValue are given by MS as: Minimum supported client: Windows Vista, Windows XP Professional x64 Edition Minimum supported server Windows Server 2008, Windows Server 2003 with SP1 Is your test running on one of these?

        F 1 Reply Last reply
        0
        • J Jonathan Davies

          The Requirements for RegGetValue are given by MS as: Minimum supported client: Windows Vista, Windows XP Professional x64 Edition Minimum supported server Windows Server 2008, Windows Server 2003 with SP1 Is your test running on one of these?

          F Offline
          F Offline
          Fareed Rizkalla
          wrote on last edited by
          #4

          I thought does was an old function available since Windows 2000. Any idea how to get a previous older function?

          _ L 2 Replies Last reply
          0
          • F Fareed Rizkalla

            I thought does was an old function available since Windows 2000. Any idea how to get a previous older function?

            _ Offline
            _ Offline
            _Superman_
            wrote on last edited by
            #5

            You can use the RegQueryValueEx function which is available in older OSs.

            «_Superman_»
            I love work. It gives me something to do between weekends.

            Microsoft MVP (Visual C++)

            Polymorphism in C

            1 Reply Last reply
            0
            • F Fareed Rizkalla

              I thought does was an old function available since Windows 2000. Any idea how to get a previous older function?

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              You may like to look at RegQueryValueEx()[^].

              Just say 'NO' to evaluated arguments for diadic functions! Ash

              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