[DUG] API to Windows explorer
Jolyon Smith
jsmith at deltics.co.nz
Fri May 13 13:49:36 NZST 2011
You mean this article ?:
http://blogs.technet.com/b/markrussinovich/archive/2008/02/04/2826167.aspx
Mark Russinovitch says in that very article:
"The changes apply both to Explorer copies as well as
to ones initiated by applications using the CopyFileEx API"
So just call CopyFileEx()... no need to try to hook into Windows Explorer.
(Is there a "let me read that article for you" equivalent to "Let me google
that for you" ?)
;)
-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of John Bird
Sent: Friday, 13 May 2011 13:35
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] API to Windows explorer
Now back to the original question - is there an API to Windows Explorer to
copy files?
(
I have a nice component HAHFindFile to build the list of folders and files
in a stringlist, and a routine using TFilestream to do the copy, but I was
thinking its almost certainly going to be faster and more robust if there
were an API to Windows Explorer to pass the source and destination folders
to, and some parameters (eg copy only newer).
I read technical articles from Mark Russinovitch about how Vista and Windows
7 optimise copying files over a network, varying the block sizes etc and
using caching so I would expect an OS-level API to be much faster.
Does anyone know if such an API exists, and are there options to eg copy
only later files. I saw some hints in Google about a COM interface to
Windows Explorer, but no details if it has options like I am interested in.)
John
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe
More information about the Delphi
mailing list