Currently I can not copy files from one folder to others. I'm using copyfile but the process failed without an error.
check code snippet as below :
LPCTSTR lpExistingFileName = "C:\\\\Product\\New\\\\product1.txt";
LPCTSTR lpNewFileName = "C:\\\\Product\\\\Beta\\\\";
printf(msgbuf, "Cannot open file %s [err=%ld]\n",GetLastError());
No Error when I try to output getlasterror.
I'm using vc6.