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


"Harold L Hunt II" <huntharo@msu.edu> wrote in message
news:<3EB7B438.60809@msu.edu>...
> Biju,
> 
> I think we all forgot about one option: Why don't we use the interface

> to (for example) C:\Documents and Settings\User_Foo\Application 
> Data\CygwinXFree86\... ?  Is there such an interface or is it largely 
> just an issue of getting the proper directory to write your config
files to?
> 
> I believe that their may be an actual interface to that directory in 
> Windows 2000 and later, while Windows 95/98/Me might still need some 
> hand-coding.  Has anyone used this before?  I know that Mozilla stores

> its settings in a directory under either Application Data or 
> User_Foo\Local Settings.
> 
> I think Microsoft has recognized that the registry hinders
installation 
> of applications, rather than helping it, and they seem to be offering 
> this new standarized area for config files.
> 
> Anyone worked with this before?
> 
> Harold

Sounds like what you want is SHGetFolderPath.  Look it up in MSDN - you
should find that it will do what you want for NT/2K/XP and 95/98/Me
systems.

Cary


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