How do I do a recursive search using FindFirst\FindNext ? I have a simple program to search into a specified directory but it doesn't search the subdirectories ? How do i do this ? Thank you !
Do a search on this board for findfirst in the general section and follow the thread "Some pro task". You will find some working code and some optimizations. This message was edited by anon, on 3/8/2001 12:56:15 PM
Go to my webpage: http://asmsource.8k.com/source32.htm and look for the file called tree32.asm - it used a recursive algorithm that you maybe after. Good Luck,John
The API's FindFirstFile & FindNextFile return all the files in the current directory, as well as all the directorys, you can tell the difference by if the Directory attribute is set in the attribute member of the WIN32_FIND_FIRST or whatever its called struct