求delphi 取得uc等非ie的网页内容代码
var
ShellWindow: IShellWindows;
nCount: integer;
spDisp: IDispatch;
i,ii,im: integer;
vi: OleVariant;
IE1: IWebBrowser2;
IDoc1: IHTMLDocument2;
e: IHTMLElement;
hh : hresult;
Vitem,cns:ihtmlelementcollection;
temps : string;
begin
ShellWindow := CoShellWindows.Create;
nCount := ShellWindow.Count;
for i := 0 to nCount - 1 do
begin
vi := i;
spDisp := ShellWindow.Item(vi);
hh:=spDisp.QueryInterface( iWebBrowser2, IE1 );
hh:=IE1.Document.QueryInterface(IHTMLDocument2,iDoc1);
。。。。
可是对浏览器不行。