Internet Explorer crash with ActiveX control
Posted on 2013-11-19
We have developed an ActiveX control in Visual Basic 6.0 for use in a webpage. When users navigate to and from the page that uses the ActiveX control several times, Internet Explorer will crash.
The ActiveX uses a dll we have developed (VC++) that links to a 3rd party dll. I found that if I copy out all of the code that references this 3rd party dll, Internet Explorer will not crash. However, this is not a viable solution.
I noticed the ocx file is still loaded after navigating away from the page. In other words, I am not able to delete the ocx file after navigating away from the page, but I can delete all of the dll files it uses, including our dll and all 3rd party dlls we reference. Could this be the issue? (that the ocx is still loaded)
Any advice on where to go from here is greatly appreciated...