Advertisement

Getting a list of the files in a directory

Started by February 11, 2000 05:03 PM
1 comment, last by Facehat 24 years, 7 months ago
Does anyone know of a good way to find all files of a certain type in a directory? For instance, I want my app to be able to find all of the .map files in my levels directory. I searched through MSDN to try and find a WinAPI call which does that, but I couldn''t find anything. Any ideas? --TheGoop
In MFC, we use CFileFind. Step through the source & see if you can track down the API calls (or use the MFC class).
Advertisement
I use the findfirst, findnext commands

This topic is closed to new replies.

Advertisement