SHFileOperation and SHFILEOPSTRUCT problem
Posted on 2003-12-03
windows nt 4.0
I'm trying to copy a bunch of folders and files under a directory to some destination...eg:
CString strSource, strDestination;
strSource = "d:\\lou\\some area\\*.*;
strDestination = "d:\\SomeDestination";
oshf.pFrom = strSource;
oshf.pTo = strDestination;
This code works....But for some reason when i try this program on another computer with the IE 6.0... It craps out with a return code 1026.
Interesting thing is : if i hardcode the string value to pFrom and pTo.. it works. But for some reason it doesn't like CString...
Thanks in Advance,