CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2000
    Posts
    129

    How to cancel copying in a progress ?

    When distination is unavailable CopyFile() function hangs for some time. I need to be able to set a timeout. Please Help.

    ???

  2. #2
    Join Date
    Dec 2000
    Location
    Canada
    Posts
    59

    Re: How to cancel copying in a progress ?

    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


  3. #3
    Join Date
    Apr 2000
    Posts
    737

    Re: How to cancel copying in a progress ?

    use CopyFileEx() which provides a callback function.

    hope this help


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured