Registry Code

This is a discussion on Registry Code within the Windows Programming forums, part of the Platform Specific Boards category; I'm currently attempting to write a program that will scan keys in the Run subfolder in the registry. It will ...

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    29

    Registry Code

    I'm currently attempting to write a program that will scan keys in the Run subfolder in the registry. It will build a list of all the values and store them in multi-dimensional array.

    My question: Is there something in the registry API that will allow this? I can't think of any other solution besides knowing the value names in advance which isn't an option.

    Thanks in advance.

  2. #2
    int x = *((int *) NULL); Cactus_Hugger's Avatar
    Join Date
    Jul 2003
    Location
    Banks of the River Styx
    Posts
    902
    Have you tried RegEnumKey, RegEnumKeyEx, or RegEnumValue?
    Read MSDN... these functions aren't hidden.
    long time; /* know C? */
    Unprecedented performance: Nothing ever ran this slow before.
    Any sufficiently advanced bug is indistinguishable from a feature.
    Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31.
    The best way to accelerate an IBM is at 9.8 m/s/s.
    recursion (re - cur' - zhun) n. 1. (see recursion)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Proposal: Code colouring
    By Perspective in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 05-14-2007, 08:23 AM
  2. Values changing without reason?
    By subtled in forum C Programming
    Replies: 2
    Last Post: 04-19-2007, 11:20 AM
  3. Updated sound engine code
    By VirtualAce in forum Game Programming
    Replies: 8
    Last Post: 11-18-2004, 12:38 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 06:06 PM
  5. Replies: 0
    Last Post: 02-21-2002, 06:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21