Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Dec : Re: SMTP Attachments
| Subject: | Re: SMTP Attachments |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Mon, 3 Dec 2007 12:36:18 |
"Dale" <dale@sys-cor.com> wrote in message
news:47538f7f$1@newsgroups.borland.com...
> Can you tell me what I need to do to fix this?
Are you trying to compile for Indy 9 or 10? Your code suggests you are
trying to use Indy 9, as TIdAttachment is an abstract base class in Indy 10
and should not be used directly. TIdAttachment is declared in the same unit
as TIdMessage in Indy 9, though, so you would not be getting that error if
your project were linking in the Indy 9 library files. TIdAttachment and
its descendants are each declared in their own units in Indy 10, though.
Gambit
none