From: Nazri Ramliy Date: Wed, 01 Apr 2009 09:28:36 GMT Subject: Re: Implementing stat() with FindFirstFile() Message-ID: <544dda350904010228q93c7425m7ba12e2286617b3d@mail.gmail.com> In-Reply-To: <20090321154738.GA27249@jeeves.jpl.local> On Sat, Mar 21, 2009 at 11:47 PM, Magnus Bäck wrote: > Is there any reason why compat/win32.h uses GetFileAttributesEx() > instead of FindFirstFile() to implement the stat() call on Windows? This blog post explains checking file existence using GetFileAttributes(Ex) vs. FindFirstFile quite nicely: http://blogs.msdn.com/oldnewthing/archive/2007/10/23/5612082.aspx nazri.