🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8374

TIniFiles

#8374
From: Lothar
Date: Thu, 04 Nov 2004 09:37
20 lines
1436 bytes
Hi,

my program reads an Inifile, and approximately after 3 days the 
following occurs:

When I create it, I get a handle which is not null
When I read I get the default value
When I write I get an exception:
Unable to write to D:\SpeedraTel\PROGRAMME\SpeedraTest.ini at 0x0

When I close the program and start it again, it works again 3 days.

I use C++Builder 6 prof.

I checked already all handles to be closed again. I just don't know any 
further.

Has anyone a hint for me?
I would appreciate it very much.
Lothar
Technical Details
Message-ID: <4189f894$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,db95008868615205,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 04 Nov 2004 10:37:43 +0100
From: Lothar <Lothar.Huppertz@gmx.de>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax)
X-Accept-Language: de-DE, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: TIniFiles
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 80.133.133.254
Message-ID: <4189f894$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099561108 80.133.133.254 (4 Nov 2004 01:38:28 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail