Flutterby™! :

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

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.

[ related topics: Microsoft ]

comments in ascending chronological order (reverse):