Try opening it read only, exclusive (ShareDenyAll).
Also there are API calls that will tell you if a file has been modified etc
(callbacks) - Don't know what they are.
Myles.
> -----Original Message-----
> From: Mark Derricutt [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 06, 2000 3:48 PM
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: file in use?
>
>
> On Wed, 6 Dec 2000, Sandeep wrote:
>
> > Novice's way: Try deleting a file :-)
>
> Safe way - try open it for writing :)
>
> --
> "We don't guarantee anything except that it will take up disk
> space..."
> Apache 2.0alpha5 Disclaimer
>
> Now Playing: <no audio cd present>
>
> --------------------------------------------------------------
> -------------
> New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"