>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