Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.pascal.delphi.misc > #44

Re: WriteLn gives io error 105

From Marco van de Voort <marcov@turtle.stack.nl>
Newsgroups comp.lang.pascal.delphi.misc
Subject Re: WriteLn gives io error 105
Date 2011-05-16 07:44 +0000
Organization Stack Usenet News Service
Message-ID <slrnit1lfh.1bhs.marcov@turtle.stack.nl> (permalink)
References <558f5d19-3a00-4b9d-886c-5f0783907d93@h12g2000pro.googlegroups.com>

Show all headers | View raw


On 2011-05-16, Les <les.redding@hotmail.com> wrote:
> suddenly every time I use  Writln function I get " io error 105"
>
>                   AssignFile(f, 'Id.Txt');
>                   Reset(f);
>                  WriteLn(f, 'Testing');
>                  CloseFile(f);
>
> Is this a result of Windows XP setting ? Is it fixable ?

In addition to what Maarten said, did you happen to change the file type
from e.g. "file" to "text" or "textfile" ?

reset opens readwrite for the "file" type, but is readonly for "text".

Back to comp.lang.pascal.delphi.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

WriteLn gives io error 105 Les <les.redding@hotmail.com> - 2011-05-15 22:16 -0700
  Re: WriteLn gives io error 105 "Maarten Wiltink" <maarten@kittensandcats.net> - 2011-05-16 09:22 +0200
  Re: WriteLn gives io error 105 Marco van de Voort <marcov@turtle.stack.nl> - 2011-05-16 07:44 +0000
  Re: WriteLn gives io error 105 Les <les.redding@hotmail.com> - 2011-05-16 01:57 -0700

csiph-web