4 Feb
2015
4 Feb
'15
10:46 p.m.
On Wed, Feb 4, 2015 at 4:57 PM, Gavin Lambert
On 5/02/2015 04:08, Niall Douglas wrote:
On 4 Feb 2015 at 14:55, Domagoj Saric wrote:
1) GetTempPath() is not deprecated (which I would take to mean that the 'manufacturer of the OS' holds this function to be sufficient for 'most users')
That's a reasonable point. Apart from its hardcoded 260 char limit.
Windows in general does not react well to paths exceeding this limit anywhere.
The problem reported by the original ticket was that for GetTempPathW the limit is 130 characters, and that is way too small for some applications. And, yes, I did add test code that verified GetTempPathW fails at roughly 130 characters. --Beman