|
|
#2
bbkjsu2006-05-04 08:38
|
//以下这段代码,运行后出现错误
procedure TForm1.Button3Click(Sender: TObject);
var
App:Variant;
begin
App:=CreateOleObject('InternetExplorer.Application');
App.Navigate(edit2.text);
App.Visible:=true;
end;
//运行后的错误提示
[错误] Unit1.pas(70): Undeclared identifier: 'CreateOleObject'
[致命错误] Project1.dpr(5): Could not compile used unit 'Unit1.pas'

