Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using FindFirstFile and FindNextFile
#1
Hi Gintaras:

I have a question, why this function shows only the first and second file of a directory.
Function procTree
Code:
Copy      Help
function int'hedit int'hwnd

WIN32_FIND_DATA b
int m=FindFirstFile("c:\*" &b)
rep
,if(m==0)
,,break
,str mf.format("%s",&b.cFileName)
,out mf
,m=FindNextFile(m &b)
,out "%u" GetLastError()

FindClose m


ret

this is the output of this code

$Recycle.Bin
0
09876a35419303c82a
18


Thank you
Regards


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)