All Tags »
Code »
Things I've written that have amused other people
Sorry, but there are no more tags available to filter with.
-
A customer who is writing some sort of code library
wants to know how they should implement a function that determines
whether a file exists.
The usual way of doing this is by calling
GetFileAttributes,
but what they've found is that sometimes
GetFileAttributes will report that a file exists,
but when they get around to accessing the file, they ...