How I can get the user\'s temp folder path in C++? My program has to run on Windows Vista and XP and they have different temp paths. How I can get it without losing compatib
GetTempPath isn't going to work on Vista unless the users have administrative access. I'm running into that problem right now with one of my apps.