Thread: Counting different types of keys in Windows registry

  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    32

    Counting different types of keys in Windows registry

    Hey all. I haven't done C programming in awhile, and right now I'm getting into malware analysis. I want to make a simple C program that for a each key in a specified hive, the program counts how many of that key's values are of type REG_SZ (strings), REG_BINARY (binaries), or any of the other types. I've never made a program dealing with the registry before, and while I'm not trying to change or edit anything, I don't want to mess something up. Could someone help walk me through of what to do here, or just some tips to get started? Thank you!

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    I dunno, you seemed to be making progress over here -> C: How Would I "crawl" The Registry? - C And C++ | Dream.In.Code
    But now you're back at the beginning.

    It looks like you're playing along, but secretly hoping to luck into some free homework.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Nov 2012
    Posts
    1,393
    Maybe if you show us some code the people here would be more interested in helping? BTW maybe the Windows Programming forum is a better fit for this question?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Writing registry keys in windows
    By samus250 in forum C Programming
    Replies: 12
    Last Post: 06-29-2008, 01:43 PM
  2. help with registry keys
    By Anubis208 in forum Windows Programming
    Replies: 5
    Last Post: 05-24-2008, 09:11 AM
  3. Registry keys
    By kspen in forum Windows Programming
    Replies: 3
    Last Post: 01-07-2008, 04:01 AM
  4. Registry Keys in C++
    By Apoc in forum Windows Programming
    Replies: 1
    Last Post: 08-21-2004, 09:46 PM
  5. Registry keys
    By CornedBee in forum Windows Programming
    Replies: 7
    Last Post: 01-11-2004, 11:41 AM