[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: config files on Windows

From: Jay Freeman \(saurik\) <saurik_at_saurik.com>
Date: 2002-03-26 22:29:29 CET


OK, I was going on the design assumption that people were against that API
for various reasons (including when it isn't there and people don't want to
add the neccessary DLL to the download package). I did pull that registry
key from MSDN, but agree that I would prefer to see the SHGetFolderPath API
to be used. There was a little confusion on my part, however. Seeing the
SH*() API I assumed it was part of the "Shell Lightweight API" (shlwapi),
which is usually not the most recommended way of accomplishing goals.

Jay Freeman (saurik)

----- Original Message -----
From: "Hontvari Jozsef" <hontvari@solware.com>
To: <kfogel@collab.net>
Cc: "Branko ─Oibej" <brane@xbc.nu>; <dev@subversion.tigris.org>
Sent: Tuesday, March 26, 2002 3:13 PM
Subject: Re: config files on Windows

> >BTW, to get the Application Data folder directory, I believe your best
> >is to use the AppData value from the
> >HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell registry
> >Using environment variables on Win32 is always a bad hack that should be
> >yavoided.
> But using that registry key directly is a bad hack too :-) (Or is that key
> published in the reference?) Microsoft recommends the SHGetFolderPath API
> function.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 26 22:30:52 2002

This is an archived mail posted to the Subversion Dev mailing list.