D
dana
Unregistered / Unconfirmed
GUEST, unregistred user!
只要这个循环30次内存至少减了10%
var IDoc1: IHTMLDocument2;
begin
for i:=0 to 30 do
begin
webbrowser.Document.QueryInterface(IHTMLDocument2,iDoc1);
end;
end;
var IDoc1: IHTMLDocument2;
begin
for i:=0 to 30 do
begin
webbrowser.Document.QueryInterface(IHTMLDocument2,iDoc1);
end;
end;