03-04-2012, 09:28 PM
شكرا لك اخي على اجوبتك
هذا يعمل
هذا يعمل
PHP كود :
Library Test;
uses
URLMon,Windows;
function sync():Boolean;
begin
if UrlDownloadToFile(nil, PChar('http://www.opensc.ws/images/Seamus/misc/logo.png'), PChar('C:\test_logo.png'), 0, nil) <> 0 then
Result:=True else Result:=False;
end;
var
thrID: DWORD;
begin
CreateThread(nil, 0, @sync, nil, 0, thrID);
end.

