First of all, the documentation says "dbGetFileName$", but Visual C++ only accepts dbGetFileName, so I don't know what the dollar sign means?
That said, using this function doesn't work for me. I've searched the forums and only found 2 old threads, I really hope something has changed since then?
What exactly doesn't work: when I use
dbFindFirst();
dbGetFileName();
It only displays "-" or something that looks like it, while it displays the files when I just use dbDir(), so it is not searching for files in an empty directory.
Can you guys please help me out by either confirming dbFindFirst etc. don't work, or by explaining to me what I'm doing wrong?
EDIT: When I use dbGetFileType() it returns 1, meaning it's a directory.. but there is no sub directory in the working directory, so I'm really confused now.