D
delphigril
Unregistered / Unconfirmed
GUEST, unregistred user!
uses shellapi;
procedure TForm1.N18Click(Sender: TObject);
var s,s1:string;
begin
s:=extractfilepath(paramstr(0));
// if s[length(s)]<>'/' then
s1:=s+'数据树/datatrees';//为exe文件
ShellExecute(handle, 'open','datatrees', Nil,pchar(s1), SW_SHOWNORMAL);
end;
为啥没有反应?
procedure TForm1.N18Click(Sender: TObject);
var s,s1:string;
begin
s:=extractfilepath(paramstr(0));
// if s[length(s)]<>'/' then
s1:=s+'数据树/datatrees';//为exe文件
ShellExecute(handle, 'open','datatrees', Nil,pchar(s1), SW_SHOWNORMAL);
end;
为啥没有反应?