Why is CopyFileFromDevice() and CopyFileToDevice() so slow?

Last post 05-29-2008 15:51 by billstheman142. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 05-29-2008 15:51

    Why is CopyFileFromDevice() and CopyFileToDevice() so slow?

    Hi,

        I am writing an application that copies files to a hand held and also copies files to a desktop. When I manually copy the files (ie: use activesync to explore to the directory and just drag and drop) it takes 39 seconds to copy the files (they total 16.9 mb). When I use the above functions it takes 1 minute 10 seconds!!! I am using it in a for loop that simply puts each file into the function, copying one file at a time. Why is it so slow? Am I doing something wrong here?

     

Page 1 of 1 (1 items)