🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2748

Re: MIME Encoding and TFileStream error

#2748
From: Hans Galema
Date: Sun, 29 Jan 2006 20:18
11 lines
1264 bytes
Mr. Wuf wrote:

> why does this code not work? Error: Stream read error

  fmOpenRead || fmShareDenyWrite

You should bitwise construct the Mode parameter:

  fmOpenRead | fmShareDenyWrite

Hans.
Technical Details
Message-ID: <43dd2315$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43dd0b59@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,8c23835e94ef54bb
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 29 Jan 2006 21:18:58 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: MIME Encoding and TFileStream error
References: <43dd0b59@newsgroups.borland.com>
In-Reply-To: <43dd0b59@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <43dd2315$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138565909 145.98.201.248 (29 Jan 2006 12:18:29 -0700)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail