Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   Delphi Datenbank ist read-only nach nbackup lock (https://www.delphipraxis.net/172241-datenbank-ist-read-only-nach-nbackup-lock.html)

romankassebaum 24. Dez 2012 09:30

AW: Datenbank ist read-only nach nbackup lock
 
Hallo Uwe,

ich habe ein wenig herumprobiert: Die Copy-File-Action des FinalBuilder, Robocopy und das Kopieren im Explorer machen Schwierigkeiten. Der Copy-Befehl hingegen funktioniert.
Ein TFileStream mit "fmOpenRead + fmShareDenyNone" geht auch. Dort habe ich allerdings das Problem, das die Delphi-Methode CopyFrom sehr langsam ist (Es gibt einen Thread im EMBT-Forum zu dem Thema). Also habe ich meine eigene FastCopyFrom-Methode geschrieben (Du findest die Quellen in Kiln).

--
Roman


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:56 Uhr.
Seite 2 von 2     12   

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