Re: RSObjectTypeNotSupported with TidPOP3.RetrieveRaw

Giganews Newsgroups
Subject: Re: RSObjectTypeNotSupported with TidPOP3.RetrieveRaw
Posted by:  Sylvainlefou (s_vir…@hotmail.com)
Date: Mon, 15 Mar 2004

If I replace "idpop31.RetrieveRaw(idMess,MsgTs);" by
"idpop31.RetrieveRaw(idMess,memo1.lines);"  it's working ! Where is the
problem ?
Thx

"Sylvainlefou" <s_vir…@hotmail.com> a écrit dans le message de
news:F65D3862A595E240s_vir…@hotmail.com...
> Hi there,
>
> With Tidpop3.RetrieveRaw, delphi send me an error :
> RSObjectTypeNotSupported.
> There isn't problem at the building but, whene I Press Button1 :
> RSObjectTypeNotSupported
>
> ///////Code
> procedure TForm1.Button1Click(Sender: TObject);
> var
>    NbMessages: Integer;
>    idMess: Integer;
>    MsgTs: Tstrings;
> begin
>  idpop31.Connect;
>  NbMessages:= idpop31.CheckMessages;
>  for idMess:=1 to NbMessages do
>    begin
>          idpop31.RetrieveRaw(idMess,MsgTs);
>        memo1.lines:=MsgTs;
>    end;
> end;
> ///////////////////////////
> The debugger point me "idpop31.RetrieveRaw(idMess,MsgTs);"
>
> Can you help me please ?

Replies

None

In response to

RSObjectTypeNotSupported with TidPOP3.RetrieveRaw posted by Sylvainlefou on Mon, 15 Mar 2004