Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy Files using ShFileOperation
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00727693
Message ID:
00728679
Views:
42
>>Nice, thanks a lot. It now returns 6 - The handle is invalid...
>>
>>:)
>>
>>So, the evolution is: 1223->127->6

>
>MSDN entry for SHFileOperation Function doesn't say that GETLASTERROR() can be used after it. It's possible that the error returned by GETLASTERROR() isn't from SHFileOperation.
>
>>And here is a test program to produce an error (if you remove \*.* in dest. string, the copy command works fine
>
>You cannot use wildcard characters in the destination string. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/structures/shfileopstruct.asp

Thanks, Sergey. My fault for not checking the fine Manual.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform