Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: IdNNTP - 500 Error from Server

www.cryer.info
Managed Newsgroup Archive

Re: IdNNTP - 500 Error from Server

Subject:Re: IdNNTP - 500 Error from Server
Posted by:"Jack MacRank" (ja..@macrank.com)
Date:Fri, 23 Jun 2006 00:52:19

"Remy Lebeau (TeamB)" wrote>
> with TIdStream(postStream) do
> begin
>   WriteLn('From: Jack MacRank <jack@macrank.com>');

Remy...don't freak out but I can't get the above code to work.  I added
IdObjs to the uses but WriteLn gives me an IO Error 105 because it's using
the System.Writeln function since TIdStream doesn't have a a method with
that name.  I did some checking and this might be occuring because maybe I'm
using Indy10 whereas Indy9 did have a Writeln function?

Also, in your code "postStream.CopyFrom(partStream, 0);", why will 0 work
instead of partStream.Size?  I just never saw that used before.

Thank for very much for your help again!

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive