When I call the API GetTempPath under Windows Vista I am returned a folder that doesn't actually exist. I realize this is a by product of Virtualization in Vista. This seems to imply that a temp folder is no longer used by the system? Is there a different API to use to get the proper temp folder in Vista? Or, perhaps, is the developer supposed to implement a temp folder themselves and then clean it up after the program runs? Thanks for any advice, JW
You should be using the ProgramData folder instead and which can be retrieved by using the ExpandEnvironmentVariable with %ALLUSERPROFILE% will give access to the user data folder where you can always keep your application data which you were keeping in the temp folder. I havent tested with GetTempPath in Vista as of now but will soon be doing on this and update it here.