Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 May : copy locked file

www.cryer.info
Managed Newsgroup Archive

copy locked file

Subject:copy locked file
Posted by:"Glenn De Tollenaere" (gdt@nospam.com)
Date:Thu, 19 May 2005 14:48:59

Hi all,

I have the following problem: I create a PDF-file using a PDF-printer from
within my application. I'd like to copy that specific generated PDF-file,
but trying to do so, I get an error that the file is in use (and it stays in
use untill I launch another print-request or close my application).

Now I wonder whether there is a way to copy such a locked file (by using a
specific Windows API-call ?) ?

Any help appreciated
Glenn

Replies:

www.cryer.info
Managed Newsgroup Archive