I was working on my old project. It's an ActiveX control to render 3D object. It works fine, but there's a problem. When it's used in HTML page (IE) and it loads first time it works great, but when i refresh page in IE it makes an assertion (Debug assertion failed. File: wincore.dll. Line: 707.
When creating the control, function in CWnd::CreateEx that creates the controls window generates m_hWnd and hWnd that differs from each other (generating an assertion) and I don't know why it happends. Why it run great on first time, and there is an error after refresh?
Thanks for any replys.
0 · ·