Advertisement

04.16.2008 at 05:29PM PDT, ID: 23329399
[x]
Attachment Details

CopyFile API Locks New file

Asked by Romans in Delphi Programming Language, Delphi Programming, Delphi Components

Tags: Delphi

Hello,
I am using the following Windows copy function in my Delphi application.

   CopyFile(Source, Destination, False);

The file(s) copied can not be deleted in Windows Explorer - they appear to be locked. Is there anything special about ths CopyFile API that I am missing or is there a way to release the files that were copied.

Thanks
RomansStart Free Trial
 
Loading Advertisement...
 
[+][-]04.16.2008 at 06:26PM PDT, ID: 21373380

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 12:09AM PDT, ID: 21374797

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 02:38AM PDT, ID: 21375459

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 05:46AM PDT, ID: 21376360

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 06:00AM PDT, ID: 21376472

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Delphi Programming Language, Delphi Programming, Delphi Components
Tags: Delphi
Sign Up Now!
Solution Provided By: SteveBay
Participating Experts: 4
Solution Grade: B
 
 
[+][-]04.17.2008 at 06:02AM PDT, ID: 21376503

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628