Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handle Invalid with SHFileOperation ?? Say What??
Message
De
06/03/2003 11:56:31
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:
00762257
Vues:
18
hmm..

Not sure what you mean by process the folder first. The looping copy operation is at the end of the sequence described. And yes, it appears to on the 3rd copy operation. So the sequence is to delete all subfolders. Create dbc and dbfs, cdx etc in each folder. Copy data into these folders. and then copy the folders elsewhere...until we hit folder three.

At this point the SHFileOperation code will have been called 5 times, (3 deletes and 2 copies). Each pass reruns all of the DECLARE INTERGER statements.

This morning, not knowing what else to try, I added DECLARE INTEGER for GetStdHandle and CloseHandle; and at the end of the code:
nHandle = GetStdHandle(STD_OUTPUT_HANDLE)
=CloseHandle(nHandle)

Result = no change.

Don Lowrey
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform