Einzelnen Beitrag anzeigen

sdean

Registriert seit: 5. Dez 2009
64 Beiträge
 
#1

idHttp and ContentRangeLength

  Alt 13. Mär 2011, 19:27
Hi all , i found this function in a source code

Delphi-Quellcode:
function TDownThread.GetSize: Integer;
begin
  try
    if IdHttp<>nil then
    result := Max(IdHttp.Response.ContentLength,IdHttp.Response.ContentRangeLength)
    else
      result := 0;
  except
    result := 0;
  end;
  result := Max(0,result);
end;
But when i want to recompile it i get : undeclared identifier "ContentRangeLength"
could someone correct this please .
  Mit Zitat antworten Zitat