|Subject:||Re: TIdAttachment and abstract class|
|Posted by:||Remy Lebeau \(TeamB\) (firstname.lastname@example.org)|
|Date:||Mon, 31 Mar 2008|
"duf" <d…@wp.pl> wrote in message news:308EB7DAFF4DE340d…@wp.pl...
> In Indy 10 TIdAttachment is an abstract class. How can I get
> attachment in such a case ?
Use the TIdAttachmentFile descendant class, ie:
TIdAttachment *IdAtt = new TIdAttachmentFile( IdMessage1->MessageParts,
TIdAttachment and abstract class posted by duf on Fri, 28 Mar 2008