![]() |
Operation status
Hi Delphianer
Ich benutze in meinem Code folgende Function:
Delphi-Quellcode:
das ganze wird eine Console App, gibt es irgendeine Möglichkeit, während des Kopier vorganges einen Status anzuzeigen ? egal ob in Prozent oder in zB X MB von 129 MB ?
function CopyDir(const fromDir, toDir: string): Boolean;
var fos: TSHFileOpStruct; begin ZeroMemory(@fos, SizeOf(fos)); with fos do begin wFunc := FO_COPY; fFlags := FOF_FILESONLY; pFrom := PChar(fromDir + #0); pTo := PChar(toDir) end; Result := (0 = ShFileOperation(fos)); end; Vielen Dank im Voraus! LG |
AW: Operation status
PS: In der CodeLib sollte was zu finden sein. :wink:
Ansonsten ... wie wäre es mit ![]() ![]() Oder reicht dir schon ein Fortschrittsdialog, wie im Explorer? ![]() und Zitat:
|
AW: Operation status
Bitte gib deinem ersten Beitrag einen aussagekräftigen Titel.
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:34 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz