Kbase P120827: GPF accessing children collections from WebBrowser activeX object
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  24/02/2010 |
|
Status: Verified
SYMPTOM(s):
GPF accessing children collections from WebBrowser activeX object
Accessing chCtrlFrame:WebBrowser:Document:frames(1):document:documentElement:ALL:tags("META"):length
Fault address: 7E99E395 01:0016D395 C:\WINDOWS\system32\mshtml.dll
The GPF occurs executing the following 4GL/ABL statement:
MESSAGE chCtrlFrame:WebBrowser:Document:frames(1):document:documentElement:ALL:tags("META"):LENGTH
VIEW-AS ALERT-BOX INFO BUTTONS OK.
Call Stack:
Address Frame
7E99E395 0012ED90 PrintHTML+334
1040C799 0012EDC4 ComObjectAttr::SetTypeInfo+79
1040A76D 0012EDF8 comGetAttribute+CD
101ACDE9 0152A848 rncomattr+7A1
FACT(s) (Environment):
Windows
Progress 9.1x
OpenEdge 10.x
CAUSE:
Bug# OE00135412
FIX:
None at this time. A workaround is to rewrite the above offending 4GL/ABL statement as follows:
DEFINE VARIABLE hFrm AS COM-HANDLE NO-UNDO.
DEFINE VARIABLE hTags AS COM-HANDLE NO-UNDO.
ASSIGN
hFrm = chCtrlFrame:WebBrowser:Document:frames.
ASSIGN
hFrm = hFrm:ITEM(1).
ASSIGN
hTags = hFrm:document:documentElement:ALL:tags("META").
MESSAGE hTags:LENGTH
VIEW-AS ALERT-BOX INFO BUTTONS OK.