General information
Category:
Coding, syntax & commands
Title:
Handle Invalid with SHFileOperation ?? Say What??
Good evening all
I am getting an API Error 6, Handle is Invalid Message during a copy folder operation. But only on the 3rd consecutive copy.
An array holds all of the sub folder names, The copy operation is an SHFileOperation courtesy of code posted by Sergey, converted to myvcx, and using ClassHeap. I use a FOR..ENDFOR to iterate thru the array and pass the folder name and complete path to the class..pretty standard stuff.
In the directory there are three folders. The first two folders copy without error, but the third folder bombs with API Error 6, Invalid File Handle. Each folder contains more than 100 files.
I am in over my head on this one. Any insights would be appreciated.
Thanks
Don Lowrey
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only