indy TIdHTTP in delphi 2005

From: Anthony Steele (this_is_not_email_at_i_luv_spam.yes_i_do.co.ru)
Date: 02/22/05


Date: Tue, 22 Feb 2005 00:06:32 +0000

I have just moved my applicaion from Delphi 7 to Delphi 2005 and am
having trouble with the indy TIdHTTP component. It used to work fine,
but now gives access violations on calls to
   aString := Get(UrlString);
  - but never on the first call.

This call is done on a thread, and synchronising does not help, but
badly affects the application's responsiveness. If I create a new
TIdHTTP before each get call there is no error, but I need to store
cookies so this is not viable.

Using Debug DCUs shows the exact call stack as
_DynArraySetLength
TIdBuffer.Clear
IdIOHandler.WriteBufferChar
IdIOHandler.WriteBufferCancel
TIdHTTPProtocol.BuildAndSendRequest
TIdCustomHTTP.ConnectToHost
TIdCustomHTTP.DoRequest
TIdCustomHTTP.Get

Any known issues/suggestions?



Relevant Pages

  • Re: Pascal to C# converter (experimental)
    ... Is in Beta and currently have a trouble because the current Reflector EXE (is a reflector plugin based in the original Delphi one...) so that meaning you need wait a little for a update version... ... Mutis: The open source indexing/search engine for Delphi http://mutis.sourceforge.net/. ...
    (borland.public.delphi.thirdpartytools.general)
  • string to array conversion
    ... contact with Delphi 7. ... But I ve been in trouble all the day with a conversion problem. ... data from the editboxes to put them in the Type. ... Sorry for the spelling mistakes, English is not my native language, ...
    (alt.comp.lang.borland-delphi)
  • Re: Well heres something I never thought I would see....
    ... trouble trying to keep up with an old native compiler like Delphi, ... rest of .Net is targeted at VB/Java class applications and speed. ...
    (borland.public.delphi.non-technical)
  • Re: Does Borland believe their customers ?
    ... I'd like to see Delphi go entirely toward a scheduled ... Unstable releases for an IDE ... > If the industry trends of independent IDE products dying continue, ... > Delphi is in trouble. ...
    (borland.public.delphi.non-technical)