Article View: borland.public.cppbuilder.internet.socket
Article #751Re: TIdAttachmentFile generate: Type name expected
From: Remy Lebeau (TeamB)
Date: Tue, 02 Oct 2007 16:37
Date: Tue, 02 Oct 2007 16:37
15 lines
1616 bytes
1616 bytes
"Ted Lyngmo" <tedREMOVETHIS@lyncon.se> wrote in message news:47016355$1@newsgroups.borland.com... > One simple way to avoid problems like that is to drop a component, > of the same type that you are allocating dynamically, on your form. That will not work in this case. TIdAttachmentFile is not a component of its own, and no other classes are declared in IdAttachmentFile.hpp. So it has to be included manually. And no other units use the IdAttachmentFile unit directly, so it cannot be auto-included for you from other components, either. Gambit
Technical Details
Message-ID:
<470273f1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<47014cce@newsgroups.borland.com> <470157a1@newsgroups.borland.com> <47016355$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2acf1e8a459f88b5 X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <47014cce@newsgroups.borland.com> <470157a1@newsgroups.borland.com> <47016355$1@newsgroups.borland.com> Subject: Re: TIdAttachmentFile generate: Type name expected Date: Tue, 2 Oct 2007 09:37:06 -0700 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 75.83.29.61 Message-ID: <470273f1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1191343089 75.83.29.61 (2 Oct 2007 09:38:09 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail