Migration from Indy 9 to Indy 10

Giganews Newsgroups
Subject: Migration from Indy 9 to Indy 10
Posted by:  Louis Valmeras (valmlou…@hotmail.com)
Date: Sat, 20 Nov 2010

I just purchased RAD Studio XE. So I need to migrate my application from Indy 9 (BDS 2006) to Indy 10 (C++ builder).
I cannot use again my code I wrote before to send emails with attachments. I was using TIdText with TIdMessage->MessageParts.
TIdtext is unknown. So I am obliged to include <IdText.hpp> and after that I get 30 error messages related to InGlobal.hpp
And I also have the message below saying that TIdAttachment is abstract:
[BCC32 Error] E2353 Class 'TIdAttachment' is abstract because of '_fastcall TIdAttachment::OpenLoadStream() = 0'
How to fix all this problems?

Replies