search in C++

This is a discussion on search in C++ within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I wanted to search a local hardrive for all the currently installed programs. Is there any function or any ...

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    205

    search in C++

    Hi,
    I wanted to search a local hardrive for all the currently installed programs. Is there any function or any tutorial to do that in C++. Thank you
    Amish

  2. #2
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    You can search the registry for programs that are registered with the system, as that would probably be a better option than just scanning C: for every *.exe file.

    Messing with the registry can cause severe damage to you system if you're not careful, so make sure you know what you're doing before you do it. With that said, you'll be able to find information on how to do that at MSDN. I recommend using google to search MSDN (so does MSDN, actually). Just precede your search terms with "msdn".

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. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  3. Tutorial review
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 03-22-2004, 08:40 PM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 09:33 AM

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