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. Registry export/merge

Registry export/merge

Scheduled Pinned Locked Moved C / C++ / MFC
comwindows-adminjson
3 Posts 3 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.
  • S Offline
    S Offline
    sschilachi
    wrote on last edited by
    #1

    Hello, I would like to backup and restore registry keys to and from a .reg file like the one that regedit.exe creates when you export registry keys, and i was wondering whether there was an API or COM function that would do this for me without having to code it myself. I have tried looking but don't have a clue where to start, if someone could point me in the right direction it would be much appreciated. Thanks a lot

    D stefanmihaimogaS 2 Replies Last reply
    0
    • S sschilachi

      Hello, I would like to backup and restore registry keys to and from a .reg file like the one that regedit.exe creates when you export registry keys, and i was wondering whether there was an API or COM function that would do this for me without having to code it myself. I have tried looking but don't have a clue where to start, if someone could point me in the right direction it would be much appreciated. Thanks a lot

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      sschilachi wrote:

      I have tried looking but don't have a clue where to start...

      Start with RegSaveKeyEx().


      "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

      "There is no death, only a change of worlds." - Native American Proverb

      1 Reply Last reply
      0
      • S sschilachi

        Hello, I would like to backup and restore registry keys to and from a .reg file like the one that regedit.exe creates when you export registry keys, and i was wondering whether there was an API or COM function that would do this for me without having to code it myself. I have tried looking but don't have a clue where to start, if someone could point me in the right direction it would be much appreciated. Thanks a lot

        stefanmihaimogaS Offline
        stefanmihaimogaS Offline
        stefanmihaimoga
        wrote on last edited by
        #3

        How to Save and Restore Registry Keys[^]

        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