directories, lccwin32 and findnextfile
i've been trying to write a piece of code to use findfirstfile, findnextfile to list the contents of a directory, and of course i've failed miserably. if somebody has worked with these functions before and is willing to help, i'll paste my broken code. but what would really be great is a piece of plain c code that uses these functions to traverse directories (writing a hackish wrapper to do posix functions like opendir).. if you have something like that lying around, it'd be great. oh yes, i'm using windows me if that makes a difference.
tia