XWin design suggestion
Alexander Gottwald
alexander.gottwald@s1999.tu-chemnitz.de
Wed May 7 10:54:00 GMT 2003
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
More information about the Cygwin-xfree
mailing list