If you get a IWebBrowser2 pointer and usercloses browser can I test validity of ptr



Hello

If I have a pointer to a IWebBrowser2 (actually I am using CComPtr) and a
user closes the web browser can I test if the ptr is valid? Or do I just
have to use try and catch?

Angus


.



Relevant Pages