I am facing trouble while using ActiveX control (MFC) with internet explorer. The control runs fine when loaded for the first time but when page is refreshed I receive a debug assertion. It is asserting in
WinCore.cpp line 707
function: CreateEx
Any help would be appreciated..
Parag

Debug Assertion on ActiveX control (Internet Explorer)
Tim M
Create an ActiveX Control project in Good Old VB6.0, this control would be hosting your control(more like a wrapper). Drag and drop your control in newly created activeX. create/delegate properties for your old/new control. And Build OCX. Register your control and then register new VB control. And use this new control in Object tag on your page. Everything should run fine now.
Why it works, I don;t know but I feel that this issue is somehow related to IDispatch and Lazy binding.
Also, if you have a better solution than this plz post it.
ndRandall
This looks like a bug in MFC. We are investigating it right now.
http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx feedbackid=1be57801-6215-498e-887e-c8a6d0ce1c4e
Thanks,
Nikola