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 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: 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 On 2011-05-16, Les 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".