interface-pointer

Check COM Inteface still alive?

In COM how does one verify that a pointer to a COM object still has a valid object on the other end? I have an issue where this following bit of code attempts to check if the m_pServer pointer is still alive, however when that application exposing that interface is killed this bit of code crashes the application. Can anybody advice on ...