Glenn MacGregor wrote:
>
> HI all,
> I am a unix programmer that has been assigned the horrible task of
> programming a windows application. Linux and solaris have a function
> called scandir that gets all the filenames in a directory. I need to do
> this in windows, and of course there is no such thing as scandir. I
> hvae been looking for two days. If anyone knows anything please relay
> the info.
I think most Windows compilers has opendir/readir/closedir emulation
code (or perhaps even scandir as scandir is simply a wrapper ontop of
readdir).
My Win32 book says there is similar Win32 API calls for reading
directories: FindFirstFile/FindNextFile/FindClose.
---
Henrik Nordstr�m