locked
CopyFileEx function gives me access denied

    Question

  • Hi.
    Im getting Error code 5 (access denied) while trying to copy some files using copyfileex.
    How I use the function:

          CopyFileEx("C:\\folder\\file.exe","C:\\Destination",CopyProgressRoutine,NULL,FALSE,COPY_FILE_RESTARTABLE);

    The file exists and the destination folder does too.
    Tuesday, July 11, 2006 5:35 PM

Answers