Article View: borland.public.cppbuilder.internet.socket
Article #748Re: TIdAttachmentFile generate: Type name expected
From: Ted Lyngmo
Date: Mon, 01 Oct 2007 21:15
Date: Mon, 01 Oct 2007 21:15
16 lines
1682 bytes
1682 bytes
Remy Lebeau (TeamB) wrote: > "Pawe� Kurzawa" <pkurzawa@izissoft.pl> wrote in message > >>[BCC32 Error] UObsluga.cpp(614): E2303 Type name expected > > You likely did not include IdAttachmentFile.hpp into your code: > > #include "IdAttachmentFile.hpp" 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. You then get all the includes you need. Just copy the include lines and then remove the VCL and then paste them back in again. Best regards, Ted Lyngmo
Technical Details
Message-ID:
<47016355$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!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>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2acf1e8a459f88b5 X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII Date: Mon, 01 Oct 2007 23:15:06 +0200 From: Ted Lyngmo <tedREMOVETHIS@lyncon.se> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: sv, en, en-us MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: TIdAttachmentFile generate: Type name expected References: <47014cce@newsgroups.borland.com> <470157a1@newsgroups.borland.com> In-Reply-To: <470157a1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 85.195.27.81 Message-ID: <47016355$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1191273301 85.195.27.81 (1 Oct 2007 14:15:01 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail