Re: reading a opened file



"snide" <nospam@work> wrote in message
news:43341e86$0$10537$4d4eb98e@xxxxxxxxxxxxxxxxxxxxxx

> In fact I woudn't copy the file while it is in a "transitional" state.
> the data it contains are not complete, so the copy can't be used.
> So how to know that the file is opened for writing ?

Open it with file mode fmShareDenyWrite, see if it works?

Groetjes,
Maarten Wiltink


.



Relevant Pages

  • Re: Maximizing forms
    ... Type "WindowState", press F1, read help. ... Groetjes, ... Maarten Wiltink ... Prev by Date: ...
    (alt.comp.lang.borland-delphi)
  • Re: Variant testing
    ... Type "TVarData", press F1, read help. ... Groetjes, ... Maarten Wiltink ... Prev by Date: ...
    (alt.comp.lang.borland-delphi)
  • Re: Week Number to Calendar
    ... > TMyDTP = class ... Groetjes, ... Maarten Wiltink ... Prev by Date: ...
    (alt.comp.lang.borland-delphi)
  • Re: Delphi 7
    ... Ebay, canonically. ... Groetjes, ... Maarten Wiltink ... Prev by Date: ...
    (alt.comp.lang.borland-delphi)
  • Re: Replacing Delphi developers
    ... Try again, but look closer. ... >> Groetjes, ... >> Maarten Wiltink ... I'm looking at a bounce message, ...
    (comp.lang.pascal.delphi.misc)