:P 丢了行码。对不起。unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DDEman, StdCtrls;type TForm1 = class(TForm) Memo1: TMemo; Button1: TButton; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end;var Form1: TForm1; DDE:TDdeClientConv; implementation{$R *.dfm}procedure TForm1.Button1Click(Sender: TObject);var ss1:string; si:integer;begin DDE:=TDdeClientConv.Create(Self); if not DDE.SetLink('Iexplore', 'WWW_GetWindowInfo') then exit; DDE.OpenLink; ss1:=DDE.RequestData('-1'); DDE.CloseLink; DDE.Free; si:=pos(',',ss1); delete(ss1,1,si+1); SetLength(ss1,Length(ss1)-1); Memo1.Lines.Add(ss1); // ss1 当前 ie 访问的地址end;end.测试过了。