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

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!.POSTED!not-for-mail
From Marco van de Voort <marcov@turtle.stack.nl>
Newsgroups comp.lang.pascal.delphi.misc
Subject Re: WriteLn gives io error 105
Date Mon, 16 May 2011 07:44:49 +0000 (UTC)
Organization Stack Usenet News Service
Lines 14
Message-ID <slrnit1lfh.1bhs.marcov@turtle.stack.nl> (permalink)
References <558f5d19-3a00-4b9d-886c-5f0783907d93@h12g2000pro.googlegroups.com>
NNTP-Posting-Host turtle.stack.nl
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Trace mud.stack.nl 1305531889 79480 2001:610:1108:5010::132 (16 May 2011 07:44:49 GMT)
X-Complaints-To abuse@stack.nl
NNTP-Posting-Date Mon, 16 May 2011 07:44:49 +0000 (UTC)
User-Agent slrn/0.9.9p1 (FreeBSD)
Xref x330-a1.tempe.blueboxinc.net comp.lang.pascal.delphi.misc:44

Show key headers only | 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