Click to See Complete Forum and Search --> : How to cancel copying in a progress ?


olstar
March 23rd, 2001, 10:35 AM
When distination is unavailable CopyFile() function hangs for some time. I need to be able to set a timeout. Please Help.

???

Raistlin
March 23rd, 2001, 05:03 PM
Check to see if the File or directory exisits before you run your copy command.
I did something similar to these before.
Tell me if you need help

Raistlin

cksiow
March 23rd, 2001, 08:11 PM
use CopyFileEx() which provides a callback function.

hope this help