Vista compatibility - fuss over nothing?

Miscellaneous Forums/General Discussion/Vista compatibility - fuss over nothing?

I just use :

char * safePath = new char[MAX_PATH];
GetEnvironmentVariable ("ALLUSERSPROFILE", safePath, MAX_PATH);

This will actually write to APPDATA with the permissions already set for sharing.