Article View: borland.public.cppbuilder.nativeapi
Article #8260Re: TIniFiles
From: Lothar
Date: Mon, 08 Nov 2004 08:09
Date: Mon, 08 Nov 2004 08:09
50 lines
2721 bytes
2721 bytes
My INI file is just 3 lines. And probably the problem is not the INI file itself. I think that there are other problems in my program, and the result is problems in the INI file. But what could it be??? It can't be file handles (as David wrote it's not a file handle) It can't be memory problems, because then I would get an exception already when I create it. So what can the problem be? Thank you Lothar Bob D. schrieb: >Is there a file-size limitation for INI files (like maybe 64 Kbytes)? I >think there was back in the olden days (Windows 3.x). How big is your ini >file? Just a thought (may be a wild goose chase). >Bob D. > > >"Lothar" <Lothar.Huppertz@gmx.de> wrote in message >news:4189f894$1@newsgroups.borland.com... > > >>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:
<418f29e0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.kamp.net!news.zanker.org!217.19.16.137.MISMATCH!news.cambrium.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!peer-uk.news.demon.net!kibo.news.demon.net!demon!194.74.65.66.MISMATCH!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4189f894$1@newsgroups.borland.com> <418c29ac$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,db95008868615205 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 08 Nov 2004 09:09:37 +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: Re: TIniFiles References: <4189f894$1@newsgroups.borland.com> <418c29ac$1@newsgroups.borland.com> In-Reply-To: <418c29ac$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 80.133.142.83 Message-ID: <418f29e0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1099901408 80.133.142.83 (8 Nov 2004 00:10:08 -0700) Lines: 51 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.kamp.net!news.zanker.org!217.19.16.137.MISMATCH!news.cambrium.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!peer-uk.news.demon.net!kibo.news.demon.net!demon!194.74.65.66.MISMATCH!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail