Thread: Search for Reg Key...

  1. #1
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342

    Question Search for Reg Key...

    How can I search for a Reg key that says "Win_code3"?

  2. #2
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    You mean like Start-> Run-> regedit
    Find: win_code3 ?
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

  3. #3
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    That is using Regedt32.exe and not my own code/script.

  4. #4
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Quote Originally Posted by Cool-August
    That is using Regedt32.exe and not my own code/script.
    Oh you want to find the key in your own program.

    Honestly whats the purpose...anyway, I'll redirect you to my good friend http://google.com.

    http://66.102.7.104/search?q=cache:8...registry&hl=en
    MSDN contains all you need to know about accessing the registry.

    Start here: http://msdn.microsoft.com/library/de..._registry.asp.

    The topic begins with an overview of what the registry is.

    The subsections go on to describe all the functions that can be used to manipulate the registry (e.g. searching, reading, writing etc), the parameters the functions take, and how to use the functions together to build an application. Absolutely everything you need to know is here and in C++ syntax. If you are using Microsoft Visual C++ 6 then the MSDN Library CD also contains these same topics in the Platform SDK section.
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

  5. #5
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    I can allready read write and delete registry files.
    Can I use FindFirstFile() and FindNextFile() to do this?

  6. #6
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    RegEnumKey, RegEnumValue

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Logical errors with seach function
    By Taka in forum C Programming
    Replies: 4
    Last Post: 09-18-2006, 05:20 AM
  2. need help program crashing
    By tunerfreak in forum C++ Programming
    Replies: 14
    Last Post: 05-22-2006, 11:29 AM
  3. searching and insertion in a binary search tree
    By galmca in forum C Programming
    Replies: 1
    Last Post: 03-26-2005, 05:15 PM
  4. Firefox and Google Search
    By DeepFyre in forum Tech Board
    Replies: 0
    Last Post: 01-16-2005, 10:28 AM
  5. Simple search program
    By colinuk in forum C Programming
    Replies: 6
    Last Post: 12-18-2004, 01:58 AM