How to detect an active x component that does not respond any more?

Posted by koschi on Stack Overflow See other posts from Stack Overflow or by koschi
Published on 2010-03-17T20:24:31Z Indexed on 2010/04/03 14:03 UTC
Read the original article Hit count: 195

Filed under:
|
|

My application is written in C++ and uses the Qt framework. I use the QAxWidget class to access an active x component. Now I need some kind of mechanism that notifies my application each time the active x component

  1. has crashed or
  2. does not respond any more (due to dead lock or infinite loop).

(1) can easily been done by watching the external process of the active x component. But maybe there is a more elegant approach?

But how can (2) be implemented?

© Stack Overflow or respective owner

Related posts about activex

Related posts about c++