Hey Everyone
I have a quick question regarding the FindFile API Call, if im doing a recurse, and i do something like this:
VB Code:
lngFileHandle = FindFirstFile(DirectoryString & "*.*", WFD)
and close the handle like this:
VB Code:
lngFileHandle = FindClose(lngFileHandle)
What would happen, if, for whatever reason, the function it was in generated an error and the file handle was never closed. Would this have an adverse affect on my program? On the file? Or on anything related?
Hope anyone can answer this
Thanks, Gav





Reply With Quote