SHGetSpecialFolderLocation, according to MSDN, is compatible with Windows98. I read somewhere (probably on MSDN too) that the constants are the same, too.
I'm running XP and tested about half a dozen of these, everything returned the expected path.
I don't think we can expect the end-user to know or even be inclined to start messing about setting access permissions, therefore I don't think CSIDL_COMMON_APPDATA is the way to go on this. Unless there's some way of doing it programatically, which I doubt. Anybody tested SetFileMode yet?
I'm running XP and tested about half a dozen of these, everything returned the expected path.
I don't think we can expect the end-user to know or even be inclined to start messing about setting access permissions, therefore I don't think CSIDL_COMMON_APPDATA is the way to go on this. Unless there's some way of doing it programatically, which I doubt. Anybody tested SetFileMode yet?