I'm developing a C++ COM dll which will be used by a web service. Somewhere in my code, I need to get windows temp path and generate some temp file there. I decided to use
GetTempPath function to retrieve the path, but in the help page of this function it is mentioned that it applies to desktop apps only. I'm not sure whether I can use the function or not and if I should not use it, what's
the alternative way for me to get windows temp folder path?
Regards,
Hamidreza Ghader