Results 1 to 3 of 3

Thread: Regestry editing help

  1. #1

    Thread Starter
    Hyperactive Member Cmdr0Sunburn's Avatar
    Join Date
    May 2001
    Location
    g0t r00t?
    Posts
    461

    Question Regestry editing help

    i need to edit somthing in the regestry, how would i go about doing this?


    I know a lot oF Vb, expert in C++, and i think in assembly.
    MSVC++6.NET
    vb6
    masm
    Windowz Xp
    I find my self using this a lot in C++

    __asm {
    }

  2. #2
    Junior Member
    Join Date
    Jun 2001
    Posts
    22
    you need to use RegOpenKeyEx() to get a handle to the registry key and RegQueryValueEx() to get a value or RegSetValueEx() to set a value


    i attached a vb module i wrote a while ago that explains how to do a number of things with the registry, including getting/setting keys/values and enumerating keys/values...

    i know it's not in C but it's nearly pure API so it shouldn't be difficult to port it to C. If you need help, I can probably write a C version in a few days, as soon as i have some time...

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Do a search for Registry.cpp and that should give something.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width