我正在使用 IHTMLDocument2 :
var
doc: OleVariant;
doc:= coHTMLDocument.Create as IHTMLDocument2;
doc:= CreateComObject(Class_HTMLDOcument) as IHTMLDocument2;
doc.write(html);
doc.close;
(...)
我应该如何正确处理“doc”?
我正在使用 IHTMLDocument2 :
var
doc: OleVariant;
doc:= coHTMLDocument.Create as IHTMLDocument2;
doc:= CreateComObject(Class_HTMLDOcument) as IHTMLDocument2;
doc.write(html);
doc.close;
(...)
我应该如何正确处理“doc”?