I need to copy data from a mapped network drive to local hard disk. I used copyFileEx(). If I compare the speed with some other tools, my application seems 10 times slower. I am using a single thread. Did i need to increase the no. of threads..? and the band width available is limited to 56kbps. Is there any other way to increase the speed of the copying operation.
Also, are you using the callback in CopyFileEx to present a dialog ? If so then the slowdown is probably in your dialog code and not in the actual copying mechanism.
Darwen.
www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.
thanks for the reply. I am using the call back and some operations in that to display the percentage of transfer. probably b'coz of this the copy operation may be slower.
Bookmarks