View Full Version : lanciare un eseguibile da delphi
Raga quel'è il comando per lanciare file esterni(.exe) da delphi??
è possibile che tanti utenti nn mi sanno dare una risp??nessuno conosce il delphi?
un esempio :
procedure TForm1.AfficheAide;
var
Path : string;
PCharPath : array[0..400] of Char;
begin
Path := ExtractFilePath(Application.ExeName) + '\Help\Publier\index.html';
StrPCopy(PCharPath, Path);
ShellExecute(Handle , 'open', PCharPath , nil , nil , SW_SHOWNORMAL);
end;
luned provo e ...ti faccio sapere!
il cmd Shellexecute...non lo conosce...nn è che devo includere qualche libreria particolare??o magari...è un comando delle api?
In effetti sta nella libreria ShellAPI.
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.