Temporary files

Hi guys

Are VST plugins allowed to write temporary files? Is there any API in the SDK to do this or do you use the C++ I/O concepts? Is there a “generic” location for temporary files for Mac and Windows?


Isn’t that the ‘temp’ folder that’s usually hidden?

Windows has some functions to get a temporary folder location you can use. I assume macOS does too.

See this StackOverflow question for a little bit more info:

The VST sdk doesn’t say anything about them.