On Fri, 5 Dec 2003, Ferenc Wagner wrote: [...]
As a second thought, using CreateDirectory seems shaky for me. Doesn't it depend on /tmp (or whatever tempnam() prefers) being accessible as a configured DOS drive?
Or maybe it's the use of tempnam() that is shaky on Windows. Why not use GetTempPath + GetTempFileName?