🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #103

Indy 10 - Attachment

#103
From: Alexandre Paulino Sierra da Silv...
Date: Wed, 14 May 2008 17:47
13 lines
1515 bytes
I made my application in C++ Builder 6, now I'm trying to use C++ Builder 
2007 and Indy 10.
I have the follow line in my app "TIdAttachment(IdMessage->MessageParts, 
pdfFile )" to attach a file and send, it works fine in C++ Builder 6, but in 
C++ Builder 2007 with Indy 10 I get this error when I try to compile: 
"[BCC32 Error] UnitCadastroPedido.cpp(186): E2352 Cannot create instance of 
abstract class 'TIdAttachment'"

Any help?

Thank you and regards.

Alexandre Paulino Sierra da Silva 
Technical Details
Message-ID: <482b25c8@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!feeder2.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news2.euro.net!newsfeed.freenet.de!news.buerger.net!news.isoc.lu!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,da6be48066f7d68e,start
X-Google-Attributes: gid11508e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Alexandre Paulino Sierra da Silva" <alexandre.chokito@gmail.com>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Indy 10 - Attachment
Date: Wed, 14 May 2008 14:47:51 -0300
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18000
NNTP-Posting-Host: 200.163.231.90
Message-ID: <482b25c8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1210787272 200.163.231.90 (14 May 2008 10:47:52 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!feeder2.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news2.euro.net!newsfeed.freenet.de!news.buerger.net!news.isoc.lu!newsgroups.borland.com!not-for-mail