Hello,
this is my code for logging all mp3 file and all exe files in a computer. It works like a charm EXCEPT, when the directory to search is set to "c:\\" it doesn't search Program Files, Windows, Users or any system related folders. I need it to and I'm not sure if it is a permission issue or if its a problem in my code. Although, if i set the directory directly to "c:\\Program Files\\" it will search through it fine. Help very much apreciated.
INFO:
Running: Windows Vista 32
Compiler: Dev-C++
API: Windows
Errors: NONE
I am not quite sure what you mean. Are there different ways to call FindNextFile? I don't see any info in the MSDN reference. A long time ago I saw something like adding SYSTEM|SUB_DIRECTORY to the call but I cant seem to find anything about it. Please be a bit more specific.
Thanks for the reply.
-Favor
PS. How is my code? I have never used recursive functions before.