AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Netzwerke Delphi How to Use Indy 10 idHTTP : IOHandler value is not valid
Thema durchsuchen
Ansicht
Themen-Optionen

How to Use Indy 10 idHTTP : IOHandler value is not valid

Ein Thema von Delphi-Lover · begonnen am 15. Jun 2005 · letzter Beitrag vom 23. Okt 2008
 
MarkusMaier

Registriert seit: 10. Apr 2007
Ort: Traunreut
6 Beiträge
 
#14

Re: How to Use Indy 10 idHTTP : IOHandler value is not valid

  Alt 23. Okt 2008, 15:19
I was the one who restarted this thread after several years, i had the example code in one of my projects - found it via google and used it instead of using indy.

After a bit of research, i found out that this code works as well (and is less likely to produce errors):

Delphi-Quellcode:
var
  idHtp1:TIdHttp;
begin
  idHtp1:=TIdHTTP.Create(nil);
  Result := '';
  try
    try
      Result := idHtp1.Get(AUrl);
    finally
      FreeAndNil(idhtp1);
    end;
  except
    ;
  end;
end;
Thx to Angel4585
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:04 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz