1999-04-01 08:00:00+00 by Dan Lyke 0 comments
NT peeve of the day:
How in the heck do I abort a WriteFile() call that's trying to talk to a process that's exited? I've tried SetCommTimeouts(), which fails because this isn't the right kind of handle, and while I can set all sorts of flags or whatever in another thread I can't figure out how to cancel this read operation.
In Un*x like operating systems this is simple to do with signals. Unfortunately, NT isn't like an operating system, let alone a Un*x like one.