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-30 09:07:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: A standard package for config files is needed Date: Thu, 30 May 2002 16:07:33 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3CF5D7AC.975B0DB3@cs.tu-berlin.de> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1022774853 8579 129.241.83.82 (30 May 2002 16:07:33 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 30 May 2002 16:07:33 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:25008 Date: 2002-05-30T16:07:33+00:00 List-Id: On 30 May 2002 11:08:45 -0400, Stephen Leake wrote: > > I believe we need both the "registry style" and the "ini file style" > of config settings. Part of this discussion is to figure out where to > draw the line between them. > > The registry supports simultaneous access by multiple processes; that > can be very useful. ini files don't; that can also be useful. So that > is one clear line between them. > > One thing I'm looking for in "config files" is to be able to specify > the file name on the command line of the app (or in a user dialog, or > some such). This allows customizing specific instances of an app. Another point is that .ini files are platform independant (can be copied from windows to Linux and visa versa) while registries are not. We would probably need both, but I think that starting with .ini is best. I guess there are some API for the Windows registry we can use and same for gconf for Gnome. Preben