I'm so Bloody happy,you can't Imagine

LUDOB I got it.

UrlMon.dll is already in Windows. I don't have to mess with no other libraies. It Solved the ssl HTTPS thing and work like in Delphi. Thank You Thank You everybody for the help. Now I got to convert my heaviest program from Delphi and see if it works. Have a great weekend. I'm so happy.
I Love Lazarus and thank You Lazarus Team.

The solution:
function URLDownloadToFile(pCaller: pointer; URL: PChar; FileName: PChar; Reserved: DWORD; lpfnCB : pointer): HResult; stdcall; external 'urlmon.dll' name 'URLDownloadToFileA';
procedure TForm1.Button1Click(Sender: TObject);
var Source, Dest: string;
begin
Source:='
http://lazarus.freepascal.org';
Dest:='C:\Windows\temp\data.txt';
if URLDownloadToFile(nil, PChar(Source), PChar(Dest), 0, nil)=0 then
showmessage('Download ok!')
else
showMessage('Error downloading '+Source);
end;
Solution from the bugtracker.
http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=23107&history=1Best regards
Robbanux
