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 10:00:00+02 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):

Comment policy

We will not edit your comments. However, we may delete your comments, or cause them to be hidden behind another link, if we feel they detract from the conversation. Commercial plugs are fine, if they are relevant to the conversation, and if you don't try to pretend to be a consumer. Annoying endorsements will be deleted if you're lucky, if you're not a whole bunch of people smarter and more articulate than you will ridicule you, and we will leave such ridicule in place.


Flutterby™ is a trademark claimed by

Dan Lyke
for the web publications at www.flutterby.com and www.flutterby.net.