|Subject:||Re: Can anyone show me an example of xx.GetArticle()?|
|Posted by:||Remy Lebeau (TeamB) (firstname.lastname@example.org)|
|Date:||Sat, 18 Dec 2004|
"cantona" <parady…@gmail.com> wrote in message
> When I try to there is always EAccessViolation with
> message 'Access violation at address xxxxxx ...........
Then you are not using it properly.
> AI, Title: string;
> IdMessage1: TIdMessage;
You have declared an uninitialized object...
> if IdNNTP1.GetArticle(StrToInt(AI), IdMessage1) then //exception error
> at this line
... and then you are using it before you have instantiated it.
You should be testing the Item's actual type before assuming that it is a
Re: Can anyone show me an example of xx.GetArticle()? posted by cantona on Sat, 18 Dec 2004