MFC Get folders

Hey, how do I get the names of all folders in MFC? Any examples or what classes should I be studying? Any hints would be really appreciated. All I've seen is CFile, which as far as I've seen (albeit very little) doesn't look like it's capable of doing what I want. So please guide me.

thank

+2


source to share


3 answers


+9


source


A google search showed a good example in: List of files in a directory



It uses FindFirstFile , FindNextFile and FindClose .

+1


source


Look for FindFirstFile in the MFC documentation

+1


source







All Articles