Thread: Working with the Registry Win 2000

  1. #16
    ReggerX
    Guest
    >>We're probably helping this guy write a virus here

    You haven't helped me do anything, I didn't ask for registry API function names, I DO know MSDN exists.

    All I asked in the beginning of the threads is
    "how to search through the registry looking for Values/Keys"

    ....Nobody could answer properly or lend a decent helping hand....

    If I was writing a program the deletes stuff in the registry, why would I be asking for help on how to SEARCH the registry for specific instances of a Value/KEY ?????? I would just delete a well know path. hmmmm... that makes sense

    to answer Fordy on what program would do that...
    = M$ Office for Small Business.

    FillYourBrain, you should ... FillYourBrain that is

  2. #17
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    dude, calm yourself.

    your question was answered by novacain. And there is no need for insults here. Your actions that you are attempting seem fishy, that's all we said.

    If we're wrong, what is the reason you wish to search the entire registry and not the key for your own app?
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  3. #18
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    If you are using a version of MS Office 2000 (post Office 97) you must un-install over the 'net to free the serial number or you will not be able register after a re-install.

    To clean the reg, have you tried 'regclean'?

    http://www.createwindow.com/wininfo/regclean.htm

    Again, if you can't write a function that searches thru a file looking for matches to a simple string, IMHO you should not be playing with the registry.

    What is it EXACTLY you are searching the reg for?

    To spell it out further, use RegEnumKeyEx() to search (increment dwIndex) while it returns a ERROR_SUCCESS, match to string, process.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  4. #19
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    Originally posted by ReggerX
    FillYourBrain, you should ... FillYourBrain that is
    He's so clever!
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 05-07-2009, 11:31 AM
  2. Registry, Regedit
    By franse in forum C++ Programming
    Replies: 21
    Last Post: 01-29-2009, 09:57 AM
  3. Can I get this to loop back?
    By Unregistered in forum C Programming
    Replies: 9
    Last Post: 05-07-2002, 03:34 AM
  4. Win XP or 2000?
    By andy668 in forum Windows Programming
    Replies: 8
    Last Post: 01-15-2002, 10:15 PM
  5. Debugger in Visual C++ UNDER Win 2000
    By porecha_jp in forum Windows Programming
    Replies: 0
    Last Post: 11-22-2001, 09:19 PM