Link to home
Start Free TrialLog in
Avatar of johnsla
johnsla

asked on

Retrieving file names based on extention

Does anyone have a generic C, C++, or MFC routine that I can use to get all the file names in a directory with a certain file extention?  Similar to the way the CFileDialog class gleens out files based on extention.
ASKER CERTIFIED SOLUTION
Avatar of jackrabbit22
jackrabbit22

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of johnsla
johnsla

ASKER

I thank you both for your solutions.  Because sreenu v78 was the first to respond I should award him the points but thank you jackrabbit22 as well.