
Getting a file list based on creation date/time
I have an application that has to pick up files that are posted to a
directory. These files have to be handled on a first come, first serve
basis. I would therefore like to continuously loop through the directory, to
always pick up the file with the earliest creation date (after processing it
is moved from the directory).
I can not seem to find an efficient method of doing this. I would like to
use something like FindFirstFile and FindNextFile however those api's search
alpahbetically.
Does anyone have any ideas of how I can do this?
Thanks in advance.
Shoshana