👩💻 Join our community of thousands of amazing developers!
Say you invoke a cross-process COM method, and then you decide to cancel it, say, because it’s taking too long. What you definitely don’t want to do is call TerminateThread. That way lies madness. What you can do is enable call cancellation by calling CoEnableCallCancellation, The post How do I protect myself against a COM call that can hang? I’m already running the server out-of-process. appeared first on The Old New Thing....