[Lazarus] TFileStream

Michael Van Canneyt michael at freepascal.org
Mon Jan 26 16:18:41 CET 2009



On Mon, 26 Jan 2009, Dave Coventry wrote:

> Hi Michael.
> 
> The file is accessed correctly the first time, but fails the second time.
> 
> 2009/1/26 Michael Van Canneyt <michael at freepascal.org>:
> > This is so by default, unless you create threads yourself ?
> 
> No, I didn't.
> 
> > More likely is simply the fact that the file cannot be locked.
> 
> How can I check this?

Well, RaiseLastOSError should give more information.

Michael.



More information about the Lazarus mailing list