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. How to be informed/notified of registry modifications

How to be informed/notified of registry modifications

Scheduled Pinned Locked Moved C / C++ / MFC
windows-admintutorialquestion
26 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.
  • D David Crow

    Alexandre GRANVAUD wrote:

    i'd need text file format (like .regs are)

    Which is what RegSaveKey() does.


    "A good athlete is the result of a good and worthy opponent." - David Crow

    "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

    A Offline
    A Offline
    Alexandre GRANVAUD
    wrote on last edited by
    #21

    no it saves a .dat file which is (i verified it with notepad) a binary file not a text file : a proprietary fileformat

    D 1 Reply Last reply
    0
    • A Alexandre GRANVAUD

      no it saves a .dat file which is (i verified it with notepad) a binary file not a text file : a proprietary fileformat

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

      My bad. I was thinking of the "export" feature of regedit.


      "A good athlete is the result of a good and worthy opponent." - David Crow

      "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

      A 1 Reply Last reply
      0
      • D David Crow

        My bad. I was thinking of the "export" feature of regedit.


        "A good athlete is the result of a good and worthy opponent." - David Crow

        "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

        A Offline
        A Offline
        Alexandre GRANVAUD
        wrote on last edited by
        #23

        oh it can interest me too ;) i'd like a commandline export feature from regedit, does it exist ?

        D 1 Reply Last reply
        0
        • A Alexandre GRANVAUD

          oh it can interest me too ;) i'd like a commandline export feature from regedit, does it exist ?

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

          Alexandre GRANVAUD wrote:

          i'd like a commandline export feature from regedit, does it exist ?

          No, regedit does not support command-line arguments.


          "A good athlete is the result of a good and worthy opponent." - David Crow

          "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

          A D 2 Replies Last reply
          0
          • D David Crow

            Alexandre GRANVAUD wrote:

            i'd like a commandline export feature from regedit, does it exist ?

            No, regedit does not support command-line arguments.


            "A good athlete is the result of a good and worthy opponent." - David Crow

            "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

            A Offline
            A Offline
            Alexandre GRANVAUD
            wrote on last edited by
            #25

            is there another way to extract .reg files from commandline ?

            1 Reply Last reply
            0
            • D David Crow

              Alexandre GRANVAUD wrote:

              i'd like a commandline export feature from regedit, does it exist ?

              No, regedit does not support command-line arguments.


              "A good athlete is the result of a good and worthy opponent." - David Crow

              "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

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

              Alexandre GRANVAUD wrote:

              is there another way to extract .reg files from commandline ?

              Other than rolling your own, not that I know of. Using the registry API, it wouldn't be that difficult. If you are considering doing this for the sole purpose of comparing two registry keys, don't bother writing to disk first. That would be just too much time. Write to some data structure in memory instead.


              "A good athlete is the result of a good and worthy opponent." - David Crow

              "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

              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