Is any definition necessary to use IndyTiburon in Delphi2005?

Giganews Newsgroups
Subject: Is any definition necessary to use IndyTiburon in Delphi2005?
Posted by:  nospam@
Date: Wed, 21 Oct 2009

Is any definition necessary to use IndyTiburon in Delphi2005?

Delphi2005 and IndyTiburon-10.5.7-2009-10-20
(Same code : Delphi2005 and Indy-10.2.3: no error)

  ASource := TIdMultiPartFormDataStream.Create;
  try
    ASource.AddFormField('para1','value1');
    AStream := TMemoryStream.Create;
    try
      IdHTTP1.Post(URL,ASource, AStream);

error: No data to read
at TIdIOHandler.Write : EIdNoDataToRead

Replies