This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: XWin design suggestion
- From: Alexander Gottwald <alexander dot gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 7 May 2003 12:54:50 +0200 (MEST)
- Subject: Re: XWin design suggestion
- Reply-to: cygwin-xfree at cygwin dot com
On Tue, 6 May 2003, Biju wrote:
> ago,
>
> --- Alexander Gottwald <Alexander.Gottwald@s1999.tu-chemnitz.de> wrote:
> > If someone will present code which stores such values in a text file and is
> > as save as storing it in the registry, I will not raise my voice against
> > this solution. But I can't see the big advantages of the file solution.
>
> Because of the reason I specified earlier, I use Windows API's
> GetPrivateProfileInt, GetPrivateProfileString, WritePrivateProfileString in "kernel32.dll"
> to store settings and other things in a *.ini format file.
> I also store window size, position etc.
> It is fast like a registry (as it cached). And never got any problem with that.
Hey, these are cool
|Calls to private profile functions may be mapped to the registry instead of
|to the specified initialization files. This mapping occurs when the initialization
|file and section are specified in the registry
*g*
bye
ago
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723