Hi, I have ActiveX like this:
class CMyActiveX:
public CComObjectRootEx ...
...
{
HRESULT FinalContruct () {return S_OK;}
void Start ()
{
// a new thread is created here for some task
}
void FinalRelease ()
{
// if the thread is alive kill it
}
}
However, when the browser is closed, the FinalRelease method is not called. Thus, the stream is saved, and a failure occurs at the output.
Any idea on this? Thanks!
source share