XWin design suggestion
Cary Jamison
Cary.Jamison@powerquest.com
Tue May 6 19:06:00 GMT 2003
"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
More information about the Cygwin-xfree
mailing list