Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SHFileOperation Win32 API function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00279105
Message ID:
00279198
Vues:
17
Hi Joe,

Sorry for the delay... I was on vacation, and after that buried in work.

The problem is one of your parameters, the pFrom property. In MSDN you can read that this property contains a CHR(0) delimited list of filenames. The list must be terminated by a double CHR(0). Since only one Chr(0) is automatically added by the STRUCT class, you have to add one yourself:

loStruct.pFrom = "\\Server1\Data\*.*"+Chr(0)

After that modification the code you sent me by mail works perfectly for me (except for the file names, of course. *s*).

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform