I want to get the filenames in a directory using the WinApi functions. I know that it can be done with a recursive function/procedure but I'm unable to get the desired effect using Delphi. My code reads the files in the root and then in one subdirectory ad then exists. I've done this in VB but am unable to get it to work in Delphi.
There are likely to be subdirectories of subdirectories so I really need to get recursive code.
Please send me some code as I'm still new to Delphi.