GetSpecialFolderPath problem
hi,
i'm gonna get special folder path in winxp and vista.
speical folder path is "application data" directory path.
then the problem is the path is different for each system-winxp, vista.
in detail, winxp has "Application Data" directory and vista has "AppData".
i know const value for getting application data in winxp is CSIDL_LOCAL_APPDATA.
CSIDL_LOCAL_APPDATA (0x001c)
Version 5.0. The file system directory that serves as a data repository for local (nonroaming) applications. A typical path is C:\Documents and Settings\username\Local Settings\Application Data. - MSDN.
but i dont know value for getting it in vista.
can anybody write it or tell me other idea?
regards