Results 1 to 7 of 7

Thread: Registry

  1. #1
    ChimpFace9000
    Guest

    Post

    Does any one have any tutorials on how to use the registry? Please no MFC.

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    No tutorials, but I do have some sample code
    Attached Files Attached Files
    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

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    And the other file:
    Attached Files Attached Files
    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

  4. #4
    ChimpFace9000
    Guest
    Thanks for the code, but im gonna need a tutorial. I just dont have the time to go through and try and figure it out at the moment.

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    The Platform SDK is a pretty good bet. I coded that up based on the documentation there
    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

  6. #6
    ChimpFace9000
    Guest
    Ok, i figured out how to create and open a key. But could you show me how to write a number to it and read the number back?

  7. #7
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Code:
    RegSetValueEx(hMyKey, pcValueName, 0, REG_DWORD, lValue, 4);
    The reason my code has a bizarre bit in it was because it was to fix it on other computers
    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