When does CSIDL_LOCAL_APPDATA path not exist?

Posted by psychotik on Stack Overflow See other posts from Stack Overflow or by psychotik
Published on 2010-05-29T02:51:42Z Indexed on 2010/05/29 3:02 UTC
Read the original article Hit count: 314

Filed under:
|
|

On a few Windows Vista Home Premium systems, the following returns an empty string:

wstring appData = GetSpecialFolderLocation(CSIDL_LOCAL_APPDATA);

  • Any ideas what would make that happen?
  • What's another equivalent path I can use for storing app data (currently user accessible only, not requiring elevation)?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about win32