This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XWin design suggestion


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]