GetLastError strangeness with FindClose

Eric Pouech pouech-eric at
Sat Aug 16 15:09:31 CDT 2003

> You're missing my point (or maybe you're not and you just don't agree with
> me - in either case, let me make my point in a clearer way).  If windows
> doesn't say it won't change the last error, we, as programmers, should
> assume that it might.  In my experience, a large number of functions that
> set last error on failure set it to ERROR_SUCCESS on success.  For the few
> that don't, I would consider this an oversight on MS's part, and I wouldn't
> expect it to exist in all implementations of a particular function (across
> OS versions).
let's just test Alex small test program on various platforms and see 
what gives...

Eric Pouech

More information about the wine-devel mailing list