http://bugs.winehq.org/show_bug.cgi?id=3613
------- Additional Comments From freddiewitherden@hotmail.com 2005-18-10 10:37 ------- On Windows temporary files go in either C:\temp, C:\Windows\Temp or %user%'\temp (or something to that effect, that each user has their own 'local' temp directory. tmpfile() is used because if your program crashes while it is running the temp file will be in a 'temp' directory, which can the be removed periodically by the operating system. However, why does the one compiled in visual studio 2005 work? It uses MSVCR80d.dll (d is for debugging) instead. So, what would you suggest I do? Map Z:\ to something else which everyone can write to?