Category: Visual C++

Finding files in a folder/directory using MFC!

There are couple of ways to find/search files in a folder/directory. Usually Win32 programmers use FindFirstFile & FindNextFile functions to find the files in a particular folder. MFC provides simplified way of finding the files using CFileFind class. Following example…