回复 7# unique009
首先谢谢你的帮助,当还是不行,我刚找到了原因了,是因为
(来至IE的UDF)Func _IEDocWriteHTML(ByRef $o_object, $s_html)
If Not IsObj($o_object) Then
__IEErrorNotify("Error", "_IEDocWriteHTML", "$_IEStatus_InvalidDataType")
Return SetError($_IEStatus_InvalidDataType, 1, 0)
EndIf
If Not __IEIsObjType($o_object, "browserdom") Then
__IEErrorNotify("Error", "_IEDocWriteHTML", "$_IEStatus_InvalidObjectType", "Expected document element")
Return SetError($_IEStatus_InvalidObjectType, 1, 0)
EndIf
;
$o_object.document.Write($s_html)
$o_object.document.close()
Local $oTemp = $o_object.document
_IELoadWait($oTemp)
Return SetError(@error, 0, -1)
EndFunc ;==>_IEDocWriteHTML
$o_object.document.Write($s_html)
当去到这句就停掉了,我想原因是因当写完后就弹出提示框了,$o_object.document.close()
这段无法运行,导致不能释放。 |