Listing files in directory
===

I have created a windows form in c++ which, upon a button click, opens a dialog box for folder selection.

Now what I would like to do is get the list of files in that directory so that I can process them one by one.

I have googled it in many ways, and found many ways which include external libraries (such as boost and diren.h). I would not like to use external resources, but the ones at my disposal, the default ones.

I've read about FindFirstFile and FindNextFile, but couldnt get that combination to work.

Could you please assist?

Thanks a lot,
Idan.