How to create a temp file that is automatically deleted after the program terminates?
<p>I have been searching everywhere and I can't seem to find such an option anywhere – the temp files created using GetTempFileName seem to be left behind once the application terminates. </p>

<p>How do I do this?</p>