create temporary files with Microsoft specific fopen() flags "TD" and (propably redundant) remove them with an atexit() handler see bug report #3535348 "sp*.tmp file created, but not deleted when Windows UAC is en" https://sourceforge.net/tracker/?func=detail&atid=423915&aid=3535348&group_id=38962