<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-NZ link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi list/Graham,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I just checked on a hunch and found what I suspected. TIdAttachmentFile
derives from TIdAttachment and that derives from TMessagePart which in turn
derives from TCollectionItem. i.e. the TIdAttachment*** classes are not components.
You would not expect to find them on your component palette.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>So don’t worry that TidAttachmentFile isn’t on your
palette - it’s not supposed to be there! </span><span
style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Now, I’ve not worked with this part of Indy but I quickly found
this short guide on the Indy site:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><a
href="http://www.projectindy.org/Sockets/Blogs/RLebeau/2005_08_17_A.EN.aspx">http://www.projectindy.org/Sockets/Blogs/RLebeau/2005_08_17_A.EN.aspx</a><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Which seems to further confirm that TIdAttachment derived
classes are designed to be instantiated directly in code, rather than by
placing them on forms at design time.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I hope that helps set you on the right track.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Cheers<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Jolyon<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> delphi-bounces@delphi.org.nz
[mailto:delphi-bounces@delphi.org.nz] <b>On Behalf Of </b>Richard Vowles<br>
<b>Sent:</b> Wednesday, 24 June 2009 23:03<br>
<b>To:</b> NZ Borland Developers Group - Delphi List<br>
<b>Subject:</b> [DUG] Fwd: Delphi - Installing / Updating Components -
specifically Indy<o:p></o:p></span></p>
</div>
<p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'>Can anyone help Graham? I don't know much about the
Indy components....<o:p></o:p></p>
<div>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'>---------- Forwarded message ----------<br>
From: <b>Graham Marsden</b> <<a href="mailto:graham@wk.planet.gen.nz">graham@wk.planet.gen.nz</a>><br>
Date: 2009/6/24<br>
Subject: Re: Delphi - Installing / Updating Components - specifically Indy<br>
To: Richard Vowles <<a href="mailto:richard@developers-inc.co.nz">richard@developers-inc.co.nz</a>><br>
<br>
<br>
Hi Richard<br>
<br>
Thanks for getting back to quickly. Yes go ahead and send it on.<br>
<br>
Cheers<br>
<br>
Graham<br>
<br>
On 24 Jun 2009 at 14:33, Richard Vowles wrote:<br>
<br>
Can I forward this to the local Delphi list? They would have a better idea. <a
href="http://www.delphi.org.nz" target="_blank">www.delphi.org.nz</a> in case
you wish to<br>
ask yourself.<br>
<br>
2009/6/24 Graham Marsden <<a href="mailto:graham@wk.planet.gen.nz">graham@wk.planet.gen.nz</a>><br>
Hi Richard<br>
<br>
I have this version of Delphi ....<br>
CodeGearTM RAD Studio 2007 Version 11.0.2804.9245 Copyright © 2007
CodeGearTM.<br>
with Indy Direct version 10.1.5 installed.<br>
<br>
Hopefully you can help with my problem ...<br>
<br>
I want to use an indy component called IdAttachmentFile - I know it exists as I
have the .pas file for it in the<br>
C:\Program Files\CodeGear\RAD Studio\5.0\source\Indy\Indy10\Protocols driectory
and have seen<br>
references to it on the net and in code samples. BUT I don't see it in any of
the the Indy Component Pallets.<br>
Plus I cannot see how to do a reinstall of what is obviously there.<br>
<br>
So I download the latest update from <a
href="http://indy.fulgan.com/ZIP/indy10.zip" target="_blank">http://indy.fulgan.com/ZIP/indy10.zip</a>
which is only days old, hoping that an<br>
update might be the answer.<br>
<br>
Trouble is I cannot find any step by step instructions on how to install this
update - there are these instrction in the<br>
help system but there are no more specifics on how this is done.<br>
<br>
Delphi and C++ Builder Installation<br>
Installing Indy.Sockets in a Borland IDE involves using the run-time and
design-time packages<br>
files to compile the source code in the library. After compiling the packages
and source code,<br>
design-time packages are installed in the IDE to make the components available
on the component<br>
palette.<br>
For Delphi and C++ Builder, the run-time package files should be opened and
compiled in the<br>
following order:<br>
* IndySystem (in LibSystem)<br>
* IndyCore (in LibCore)<br>
* IndyProtocols (in LibProtocols)<br>
* IndySuperCore (in LibSuperCore) (for Delphi 7 only)<br>
For Delphi and C++ Builder, the design-time package files should be opened,
compiled, and<br>
installed in the following order:<br>
* dclIndyCore (in LibCore)<br>
* dclIndyProtocols (in LibProtocols)<br>
* dclSuperCore (in LibSuperCore) (for Delphi 7 only)<br>
<br>
What is the step by step process for all of this, I have roamed the net in vain
for some enlightenment but<br>
cannnot penetrate the techspeak for a simple how to.<br>
<br>
I hope you can help me out here with a process, or a more helpful source on the
net.<br>
<br>
Many thanks<br>
<br>
Graham Marsden<br>
<span style='color:#888888'><br>
<br>
<br>
<br>
--<br>
---<br>
Richard Vowles, Technical Advisor<br>
Developers Inc Ltd<br>
web. <a href="http://www.developers-inc.co.nz" target="_blank">http://www.developers-inc.co.nz</a><br>
ph. +64-9-3600231, mob. +64-275-467747, fax. +64-9-3600384<br>
skype. rvowles, LinkedIn, Twitter<br>
<br>
</span><o:p></o:p></p>
</div>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><br>
<br clear=all>
<br>
-- <br>
---<br>
Richard Vowles, Technical Advisor<br>
Developers Inc Ltd<br>
web. <a href="http://www.developers-inc.co.nz">http://www.developers-inc.co.nz</a><br>
ph. +64-9-3600231, mob. +64-275-467747, fax. +64-9-3600384<br>
skype. rvowles, LinkedIn, Twitter<br>
<br>
<o:p></o:p></p>
</div>
</body>
</html>