Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handle Invalid with SHFileOperation ?? Say What??
Message
 
 
À
05/03/2003 20:00:57
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00761891
Message ID:
00761953
Vues:
29
Hi Donald,

The code was originaly posted by late Ed Rauh. I reposted it with some modifications. Can you copy the folder in question using Windows Explorer?

>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
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform