[Bug 22692] Multiple applications fail to update progress bar during lengthy copy operations (missing CopyFileEx progress callback support)(Total Commander 8.x, SimCity 4 installer)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 3 10:45:40 CST 2014


http://bugs.winehq.org/show_bug.cgi?id=22692

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
          Component|-unknown                    |kernel32
            Summary|Total Commander: When       |Multiple applications fail
                   |copying a file the progress |to update progress bar
                   |bar is not updated except   |during lengthy copy
                   |at the end                  |operations (missing
                   |                            |CopyFileEx progress
                   |                            |callback support)(Total
                   |                            |Commander 8.x,  SimCity 4
                   |                            |installer)

--- Comment #10 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

Total Commander 8.x uses CopyFileExW() and relies on supplied progress callback
function being called.
Wine doesn't implement callback based progress notification yet.

MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa363852%28v=vs.85%29.aspx

--- quote ---
CopyFileEx function

Copies an existing file to a new file, notifying the application of its
progress through a callback function.

To perform this operation as a transacted operation, use the CopyFileTransacted
function.
Syntax
C++


BOOL WINAPI CopyFileEx(
  _In_      LPCTSTR lpExistingFileName,
  _In_      LPCTSTR lpNewFileName,
  _In_opt_  LPPROGRESS_ROUTINE lpProgressRoutine,
  _In_opt_  LPVOID lpData,
  _In_opt_  LPBOOL pbCancel,
  _In_      DWORD dwCopyFlags
);


...
lpProgressRoutine [in, optional]

    The address of a callback function of type LPPROGRESS_ROUTINE that is
called each time another portion of the file has been copied. This parameter
can be NULL. For more information on the progress callback function, see the
CopyProgressRoutine function.
--- quote ---

Source:
http://source.winehq.org/git/wine.git/blob/eba2f4322169715b3672651a5427b718b6eafa8f:/dlls/kernel32/path.c#l1089

$ sha1sum tcm801x32.exe 
718b6111f8104d2071f77f240845d1d2be1ccfc6  tcm801x32.exe

$ du -sh tcm801x32.exe 
3.3M    tcm801x32.exe

$ wine --version
wine-1.7.9-342-gc638552

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list