Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SHFileOperation Win32 API function
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00279105
Message ID:
00279198
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform