Den 2010-12-16 20:38 skrev Jon TURNEY: > On 29/11/2010 11:28, Corinna Vinschen wrote: >> I would prefer if you would use GetFileAttributesA here, just like the >> io_stream_file::exists method. This also unifies testing the >> attributes. > > Oh, I used _stat() in the !IsWindowsNT() case as MSDN tells me that > GetFileAttributes() isn't available prior to Win2K. I guess I've been misled > :-)
That's just MS trying to rewrite history now that Win2k is is the oldest supported OS. According to MSDN, no API predates Win2k. Stupid if you ask me... Cheers, Peter