//运行出错
procedure uploadto;exports;
var
  app: Variant;
begin
  app := CreateOleObject('InternetExplorer.Application');
  app.navigate('http://www.borland.com');
end;
//正常
procedure TForm1.Button1Click(Sender: TObject);
var
app: Variant;
begin
app := CreateOleObject('InternetExplorer.Application');
app.navigate('http://www.borland.com');
app.visible:=TRUE;
end;
//为什么呀
//怎么办呀
//我是想 放到DLL里通过 去凋用这个方法