Re: 9.xx to 10 problem

Giganews Newsgroups
Subject: Re: 9.xx to 10 problem
Posted by:  Remy Lebeau (Indy Team) (no.spam@no.spam.com)
Date: Sun, 1 Oct 2006

"Robert Tulloch" <tulta…@attglobal.net> wrote in message
news:EA52C014E809E340tulta…@attglobal.net...

> This:
>
> TIdAttachment.Create(IdMsgSend.MessageParts, OpenDialog.FileName);
>
> Appears to have been grossly altered and I can't seem to get a handle on
it.

TIdAttachment is an abstract base class in Indy 10.  You will need to use
TIdAttachmentFile now, ie:

    TIdAttachmentFile.Create(IdMsgSend.MessageParts, OpenDialog.FileName);

Gambit

Replies

None

In response to

9.xx to 10 problem posted by Robert Tulloch on Sun, 01 Oct 2006