Hi everybody.
In my application I have to make a backup copy of an entire folder.
So, I tried to override the Callback function for File.Copy( ) action.
The result is, it does not work properly!
During copy, strings are not always updated, and progress meter reaches its max value with the first file copied.
Vice-versa, the built-in Callback works perfectly.
The strange thing is, my other custom Callback functions work.
So, please, have a look at the attached file, and tell me: where does the mistake (or the mystery) lies?
Thanks.
In my application I have to make a backup copy of an entire folder.
So, I tried to override the Callback function for File.Copy( ) action.
The result is, it does not work properly!
During copy, strings are not always updated, and progress meter reaches its max value with the first file copied.
Vice-versa, the built-in Callback works perfectly.
The strange thing is, my other custom Callback functions work.
So, please, have a look at the attached file, and tell me: where does the mistake (or the mystery) lies?
Thanks.