Article View: borland.public.cppbuilder.nativeapi
Article #14412Re: Saving into INI File
From: Stan
Date: Wed, 13 Aug 2003 08:43
Date: Wed, 13 Aug 2003 08:43
19 lines
1664 bytes
1664 bytes
your solution is great but the problem is it is not my own input it will be the use who will input the text and that it is why I don't know what special charachter the user will never input > Apart from Eyyub's solution, you can work around this problem > by changing all the line breaks into a special character (such as | > or another character that you never use in your lines), before > writing to the ini file. > > When reading from the ini file, you'll have to do the reverse. > > You can also consider using the registry instead, which supports multiline > text. > > -- > > Jos Branders > >
Technical Details
Message-ID:
<3f39f8a3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f38ecfb$1@newsgroups.borland.com> <3f392249@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,4727f93d94327f0f X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-13 01:40:10 PST From: "Stan" <thewatcher@email.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f38ecfb$1@newsgroups.borland.com> <3f392249@newsgroups.borland.com> Subject: Re: Saving into INI File Date: Wed, 13 Aug 2003 11:43:38 +0300 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 212.122.226.10 Message-ID: <3f39f8a3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1060763811 212.122.226.10 (13 Aug 2003 01:36:51 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail