From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,47bc849aad30d586 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-28 13:28:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.socal.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!twister.socal.rr.com.POSTED!not-for-mail Message-ID: <3CF3E885.B252116B@san.rr.com> From: Darren New X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: A standard package for config files is needed References: <3CF3B160.DF10E94F@san.rr.com> <3CF3C7F8.1C57BE12@easystreet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 28 May 2002 20:28:27 GMT NNTP-Posting-Host: 66.75.151.160 X-Complaints-To: abuse@rr.com X-Trace: twister.socal.rr.com 1022617707 66.75.151.160 (Tue, 28 May 2002 13:28:27 PDT) NNTP-Posting-Date: Tue, 28 May 2002 13:28:27 PDT Organization: RoadRunner - West Xref: archiver1.google.com comp.lang.ada:24875 Date: 2002-05-28T20:28:27+00:00 List-Id: achrist@easystreet.com wrote: > There is some chance for a big mess here, thanks to progress that MS > has already made in this direction. There is support for ini files > in the Windows api, and MS has at some time said that it might migrate > the ini files into the registry without letting the application using > the Windows API to access the ini parameters know. I think that already works, if you go thru the right INI APIs. Of course, if you use open/read/write/close it won't work. > The possible downsides of all this are stunning, but the upside is that > because the registry is like a database, the programmer using the > registry > does not so much worry about what happens if multiple programs accessing > and updating the same settings might be running simultaneously. Yes. And the other upside is that the OS can *do* things with that info, *because* it knows it's an INI file, that it can't do with plain old files. Like move them between computers when you log in, and let different programs update different parts on different machines and then merge the results together when both programs terminate, and so on. Was just a thought, really. My intention was to say that the API would work better as something like "here's a key and a value, remember it" than it would "output a [blah] header, output a key, output a value" kind of thing, implying a sequential file as an underlying implementation. -- Darren New San Diego, CA, USA (PST). Cryptokeys on demand. ** http://home.san.rr.com/dnew/DNResume.html ** ** http://images.fbrtech.com/dnew/ ** My brain needs a "back" button so I can remember where I left my coffee mug.