标题:ShellExecute是什么函数?
只看楼主
alphawy
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2004-7-17
 问题点数:0 回复次数:5 
ShellExecute是什么函数?

我在学delphi是遇到个shellExecute函数,里面是这么写的,

ShellExecute(Application.Handle,Pchar('Open'),Pchar(Open,FileName),nil,nil,SW_Show)

我在里面没定义,运行时说,Undeclared identifier:ShellExecute,

请问这个ShellExecute应该怎么用呢?

在usu 里面该不该加什么呢?

搜索更多相关主题的帖子: ShellExecute 函数 nil Pchar Open 
2004-08-04 22:27
yangguofa
Rank: 1
等 级:新手上路
帖 子:197
专家分:0
注 册:2004-5-5
得分:0 

是API函数,应该在窗体的uses 里加入:Shellapi

就可以了。


/bbs/UploadFile/2005-3/2005320191459674.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://www./bbs/UploadFile/2005-3/2005320191459674.gif');}" onmousewheel="return imgzoom(this);" alt="" />
2004-08-05 10:29
ChenSirJD
Rank: 1
等 级:新手上路
帖 子:10
专家分:0
注 册:2004-9-13
得分:0 
在Delphi的帮助里一定有你想要的所有东西
2004-10-10 00:01
知秋一页
Rank: 1
等 级:新手上路
帖 子:7
专家分:0
注 册:2004-11-6
得分:0 
呵呵,我想大家的英语的水平还停留在 I miss you so much上面,呵呵,开玩笑了,我从来没有按过F1,因为我实在是看不懂了,那应该是一个windows的壳处理的沟子函数!
2004-11-06 11:03
刹那
Rank: 1
等 级:新手上路
帖 子:29
专家分:0
注 册:2004-10-11
得分:0 
要想学好它  就应该了解它的构造  按下F1吧

当爱已成往事....
2004-11-09 21:39
aq
Rank: 1
等 级:新手上路
帖 子:13
专家分:0
注 册:2004-12-12
得分:0 

英语我也垃圾 的确DELPHI的帮助能看懂的很少 要是谁能汉化就好了

2004-12-12 16:23



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




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

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