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. searching the registry

searching the registry

Scheduled Pinned Locked Moved C / C++ / MFC
algorithmswindows-admin
4 Posts 2 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.
  • X Offline
    X Offline
    X2040
    wrote on last edited by
    #1

    does any one have an optimized code or algorithm to search the Registry

    M 1 Reply Last reply
    0
    • X X2040

      does any one have an optimized code or algorithm to search the Registry

      M Offline
      M Offline
      Maximilien
      wrote on last edited by
      #2

      if you hae the full key name ( e.g. HKEY_CURENT_USER/... ) you need to go to the deepest common root, and brute search from there; otherwise, I think it's brute force search with the usual registry API.


      Maximilien Lincourt Your Head A Splode - Strong Bad

      X 1 Reply Last reply
      0
      • M Maximilien

        if you hae the full key name ( e.g. HKEY_CURENT_USER/... ) you need to go to the deepest common root, and brute search from there; otherwise, I think it's brute force search with the usual registry API.


        Maximilien Lincourt Your Head A Splode - Strong Bad

        X Offline
        X Offline
        X2040
        wrote on last edited by
        #3

        iam making a registry back up program where i want to find an algorithm or function to get my item by item from the registry files till the end of the files . assumption that i dont know the name of the keys . like what happen when you search the hard disk using "*.*" i want the same effect on the registers. if you know any way send me please thank you

        M 1 Reply Last reply
        0
        • X X2040

          iam making a registry back up program where i want to find an algorithm or function to get my item by item from the registry files till the end of the files . assumption that i dont know the name of the keys . like what happen when you search the hard disk using "*.*" i want the same effect on the registers. if you know any way send me please thank you

          M Offline
          M Offline
          Maximilien
          wrote on last edited by
          #4

          have a look here : http://www.codeproject.com/system/#Registry


          Maximilien Lincourt Your Head A Splode - Strong Bad

          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