R6025 get_parentElement

  • Thread starter Thread starter Drew
  • Start date Start date
D

Drew

Hello:
Occasionally when I use the get_parentElement method on an
IHTMLElement interface I receive the R6025 -pure virtual function
error and IE6 crashes. I have not used this method in any version
prior to IE6 SP1. Any knowledge of a workaround or more information on
why this is happening would be helpful.
Thank you,
~Drew
 
Hello:
Occasionally when I use the get_parentElement method on an
IHTMLElement interface I receive the R6025 -pure virtual function
error and IE6 crashes. I have not used this method in any version
prior to IE6 SP1. Any knowledge of a workaround or more information on
why this is happening would be helpful.
Thank you,
~Drew

I have found that using the get_parentNode method on the
IHTMLDOMNode interface seems to avoid this problem. Unfortunately
get_parentElement wasn't the only place the R6025 was occurring. Apparently
it also occurs somewhere in TranslateAccelerator... Here is my call stack.

mshtml!CTreeNode::NodeRelease
mshtml!CDoc::DoTranslateAccelerator
mshtml!CServer::TranslateAcceleratorWrapW
mshtml!CDoc::TranslateAcceleratorWrapW
SHDOCVW!CProxyActiveObject::TranslateAcceleratorWrapW
SHDOCVW!CDocObjectView::TranslateAcceleratorWrapW
BROWSEUI!CCommonBrowser::v_MayTranslateAccelerator
BROWSEUI!CShellBrowser2::v_MayTranslateAccelerator
BROWSEUI!BrowserThreadProc
BROWSEUI!BrowserProtectedThreadProc
BROWSEUI!SHOpenFolderWindow
SHDOCVW!IEWinMain
IExplorer!WinMainT
IExplorer!ModuleEntry
KERNEL32!BaseProcessStart

Any help would be appreciated.
~Drew
 
Back
Top