Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handle Invalid with SHFileOperation ?? Say What??
Message
From
05/03/2003 20:00:57
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Handle Invalid with SHFileOperation ?? Say What??
Miscellaneous
Thread ID:
00761891
Message ID:
00761891
Views:
159
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
Map
View

Click here to load this message in the networking platform