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. write into the Registry ?

write into the Registry ?

Scheduled Pinned Locked Moved C / C++ / MFC
windows-adminquestion
5 Posts 3 Posters 1 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
    Ariel
    wrote on last edited by
    #1

    Hi there, Whats the easies and most efficient way to write into the Registry ? I want to write into HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER keys in which i want to open a new SubFolder(key) under "Software" folder (key) (called : MyKey for instance) and under this folder have some properties of kind : int, and CString. I also want a method to retrive this data and alter it if necessary. How can this be done ? Thank you alot, Ariel.

    C L 2 Replies Last reply
    0
    • A Ariel

      Hi there, Whats the easies and most efficient way to write into the Registry ? I want to write into HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER keys in which i want to open a new SubFolder(key) under "Software" folder (key) (called : MyKey for instance) and under this folder have some properties of kind : int, and CString. I also want a method to retrive this data and alter it if necessary. How can this be done ? Thank you alot, Ariel.

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      there are 5 registry classes here: http://www.codeproject.com/system/ -c ------------------------------ Smaller Animals Software, Inc. http://www.smalleranimals.com

      A 1 Reply Last reply
      0
      • A Ariel

        Hi there, Whats the easies and most efficient way to write into the Registry ? I want to write into HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER keys in which i want to open a new SubFolder(key) under "Software" folder (key) (called : MyKey for instance) and under this folder have some properties of kind : int, and CString. I also want a method to retrive this data and alter it if necessary. How can this be done ? Thank you alot, Ariel.

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

        I wrote a simple class to do with registry. You should contact me.

        A 1 Reply Last reply
        0
        • C Chris Losinger

          there are 5 registry classes here: http://www.codeproject.com/system/ -c ------------------------------ Smaller Animals Software, Inc. http://www.smalleranimals.com

          A Offline
          A Offline
          Ariel
          wrote on last edited by
          #4

          Excellent Reference - Thank you very much for the Answer !!!

          1 Reply Last reply
          0
          • L Lost User

            I wrote a simple class to do with registry. You should contact me.

            A Offline
            A Offline
            Ariel
            wrote on last edited by
            #5

            Well first i found some wrapper calsses for the Registry handling but i'm always open to new and improved ones. Hope you can show me the headers or all the class code throw a reply or simply by mail. Thank you for the time, Ariel.

            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