ActiveX assert
-
I have made an ActiveX control and I was working with it in a MFC application that uses the CMultiPageDHtmlDialog class. The problem is that when I close the aplication an assert ocurs. The message is : dwCookie != 0 && dCookie <= (DWORD)m_nSize. The assert is placed in a method called GetUnknow. It's ocurs when the application is disconnectin the events (I think). Any suggestion ?. Thanks.
-
I have made an ActiveX control and I was working with it in a MFC application that uses the CMultiPageDHtmlDialog class. The problem is that when I close the aplication an assert ocurs. The message is : dwCookie != 0 && dCookie <= (DWORD)m_nSize. The assert is placed in a method called GetUnknow. It's ocurs when the application is disconnectin the events (I think). Any suggestion ?. Thanks.
in any cases, before app (a process) destroys, all threads created by the app should be destroied. if not, often (not always) exception happends. wait a while, check thread's status, i think it will help. :rose: :rose: :rose: :rose: includeh10