Autor Beitrag
AScomp
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 162


Delphi 5, Delphi 7, Delphi 2007, Delphi 2009, Delphi XE, Delphi 10 Seattle
BeitragVerfasst: Di 23.02.10 02:24 
Hallo,

mit

FileSetAttr(Destination, FileAttributes);

setze ich derzeit Dateiattribute von Dateien.

Sobald die Datei "Destination" eine große, im Netzwerk liegende Datei ist, dauert der Vorgang recht lange (währenddessen "friert" das Programmfenster ein, da kein Thread).

Ein Handle auf die Datei liegt bereits vor, da mit FileCreate geöffnet. Gibt es ggf. eine schnellere Methode, die Dateiattribute zu setzen?

Danke!

Gruß

Andy
AScomp Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 162


Delphi 5, Delphi 7, Delphi 2007, Delphi 2009, Delphi XE, Delphi 10 Seattle
BeitragVerfasst: Di 23.02.10 05:38 
Hat sich erledigt, scheint an Virenscanner und/oder Firewall zu liegen.