On 04/03/18 23:04, Tom Watson wrote:
A few comments here:
...
+/*
+ * Code temporarily disabled to pass the automated tests
+ * as the code to hanlde PROGRESS_STOP/PROGRESS_CANCEL needs
+ * to be installed on the vms
+ */
MoveFileWithProgress() is supported since Windows XP; I would be
surprised if those flags are not implemented on native Windows.
Rather, I suspect that your tests make assumptions about native
implementation of CopyFile based on Wine's implementation. It's not
necessarily true that Windows copies files in blocks of 65536 bytes. Did
you check, when testing, that your callback ever actually ran?