🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.upgrade
Article #2280

fstream problem

#2280
From: Ken Litkowski
Date: Thu, 23 Mar 2000 00:00
18 lines
1252 bytes
I have the following declaration in a form

fstream Dict;

When I attempt to execute the following in BCB5 (and BCB4)

Dict.open(fname.c_str(),ios::in|ios::out|ios::app|ios::binary);

I get an access violation.  I have no problem in BCB3.  Is there
something I need to do in BCB5?  The file name that is passed to the
function looks ok.  (I have tried this with all parametes except the
filename taken out, to no avail.)  This is very important to resolve
this problem so I can confidently move my code from BCB3 to BCB5.
-- 
Ken Litkowski                     TEL.: 301-482-0237
CL Research                       EMAIL: ken@clres.com
9208 Gue Road
Damascus, MD 20872-1025 USA       Home Page: http://www.clres.com
Technical Details
Message-ID: <38DA4FD7.4EE05DD2@clres.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10529a,2ba776dc622a2351,start
X-Google-Attributes: gid10529a,public
From: Ken Litkowski <ken@clres.com>
Subject: fstream problem
Date: 2000/03/23
Message-ID: <38DA4FD7.4EE05DD2@clres.com>
X-Deja-AN: 601365575
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: 23 Mar 2000 09:01:21 -0800, 216.200.82.84
Organization: CL Research
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.upgrade