9.xx to 10 problem

Giganews Newsgroups
Subject: 9.xx to 10 problem
Posted by:  Robert Tulloch (tulta…@attglobal.net)
Date: Sun, 01 Oct 2006

Hi:

    I have an app running beautifully for years. Just opened in IDE and
got bu=nch of errors due to migration  form 9.xx to 10 snapshot.

All fixed except:

//------------------------------------------------------------------------------
procedure TfrmMessageEditor.AttachBtnClick(Sender: TObject);
begin
    if OpenDialog.Execute then
      begin
          TIdAttachment.Create(IdMsgSend.MessageParts, OpenDialog.FileName);
          ResetAttachmentListView;
      end;
end;

--------------------

This:

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

Appears to have been grossly altered and I can't seem to get a handle on it.

Any help/example appreciated.

Best regards

Replies