try the following codes ):0 , does it works ?procedure startOtherApplication
var
stinfo:STARTUPINFO;
ProcessInfo:PROCESS_INFORMATION;
sExefile :LPSTR ;
begin
ZeroMemory(@stinfo, sizeof(STARTUPINFO));
sExefile := 'E:\应用程序框架\sysUpdate.exe';
stinfo.cb := sizeof(STARTUPINFO);
stinfo.dwFlags := STARTF_USESHOWWINDOW;
stinfo.wShowWindow := SW_SHOW;
if ( not CreateProcess(sExefile,sExefile, nil , nil ,false,0,
nil,nil,stinfo,ProcessInfo) ) then
showMessage( 'error:' + inttostr(getLastError()));
end;
var
stinfo:STARTUPINFO;
ProcessInfo:PROCESS_INFORMATION;
sExefile :LPSTR ;
begin
ZeroMemory(@stinfo, sizeof(STARTUPINFO));
sExefile := 'E:\应用程序框架\sysUpdate.exe';
stinfo.cb := sizeof(STARTUPINFO);
stinfo.dwFlags := STARTF_USESHOWWINDOW;
stinfo.wShowWindow := SW_SHOW;
if ( not CreateProcess(sExefile,sExefile, nil , nil ,false,0,
nil,nil,stinfo,ProcessInfo) ) then
showMessage( 'error:' + inttostr(getLastError()));
end;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货