标题:请问各位大哥,我在调用这个函数CreateOleObject时,怎么编译出错?谢谢了!
取消只看楼主
yaotian2008
Rank: 1
等 级:新手上路
帖 子:27
专家分:0
注 册:2006-3-19
 问题点数:0 回复次数:0 
请问各位大哥,我在调用这个函数CreateOleObject时,怎么编译出错?谢谢了!

//以下这段代码,运行后出现错误
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'

搜索更多相关主题的帖子: 函数 App FONT 编译 color 
2006-05-03 22:59



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-61763-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.225718 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved