Apache on Vista: cannot find CSIDL_COMMON_APPDATA folder from CGI program

Apache on Vista: cannot find CSIDL_COMMON_APPDATA folder from CGI program

Post by Jaelan » Fri, 24 Apr 2009 19:34:13


XXXX@XXXXX.COM wrote:

hToken of -1 i for "Default User" which is a template for new user
account, so it's not for the current user nor all users. Try using NULL
instead.

Don't know exactly what's wrong - it should work, but SHGetFolderPath is
considered obsolete in Vista. Try using SHGetKnownFolderPath when only
under Vista or Windows 7.