Timothy Madden
2010-09-03 09:09:24 UTC
Hello
tmpfile() from <stdio.h> requires administrative privileges to run on
Windows Vista (but not on Windows XP or Windows 7) and will fail if
invoked in a non-elevated process.
Is there a Visual Studio library patch (like dinkumware patches, or STL
port, or a Microsoft VS CRT patch ...) to correct this problem ?
tmpfile() is important for my application because it has this property
that the file returned is automatically deleted when closed. Also it
opens a temporary files without the user having to worry about TEMP/TMP
environment varibles, or GetTemporaryDirectory() or temporary name
clashes / concurrency ...
Thank you,
Timothy Madden
tmpfile() from <stdio.h> requires administrative privileges to run on
Windows Vista (but not on Windows XP or Windows 7) and will fail if
invoked in a non-elevated process.
Is there a Visual Studio library patch (like dinkumware patches, or STL
port, or a Microsoft VS CRT patch ...) to correct this problem ?
tmpfile() is important for my application because it has this property
that the file returned is automatically deleted when closed. Also it
opens a temporary files without the user having to worry about TEMP/TMP
environment varibles, or GetTemporaryDirectory() or temporary name
clashes / concurrency ...
Thank you,
Timothy Madden