|
95 | 95 |
|
96 | 96 | <p>
|
97 | 97 | Several DelphiDabbler and other 3rd party libraries and components are
|
98 |
| - required to compile <em>CodeSnip</em>, most of which are included in the code |
99 |
| - repository in the <code>Src/3rdParty</code> directory. Code not included in |
100 |
| - the repository is noted below. |
| 98 | + required to compile <em>CodeSnip</em>. They are included in the code |
| 99 | + repository in the <code>Src/3rdParty</code> directory. |
101 | 100 | </p>
|
102 | 101 |
|
103 |
| -<h3> |
104 |
| - Indy libraries v10 |
105 |
| -</h3> |
106 |
| - |
107 |
| -<p> |
108 |
| - The Indy 10 Internet components ship with Delphi XE. |
109 |
| - If you prefer to work with the latest release you can download it from <a |
110 |
| - href="http://www.indyproject.org/" |
111 |
| - >http://www.indyproject.org/</a>. If you download a copy of Indy 10 you |
112 |
| - should compile the source code separately with the same version of Delphi |
113 |
| - that is being used to compile <em>CodeSnip</em>. |
114 |
| -</p> |
115 |
| - |
116 |
| -<p> |
117 |
| - Regardless of whether you are using the version of Indy 10 supplied with |
118 |
| - Delphi or if you have downloaded and compiled your own version, you must set |
119 |
| - the <code>INDY10</code> environment variable to the directory where you |
120 |
| - placed the compiled code. |
121 |
| -</p> |
122 |
| - |
123 |
| -<h4 id="indychanges"> |
124 |
| - Changes between different Indy 10 releases |
125 |
| -</h4> |
126 |
| - |
127 |
| -<p> |
128 |
| - Changes were made to the parameter lists of the <var>TWorkBeginEvent</var> |
129 |
| - and <var>TWorkEvent</var> events between early and later releases of Indy |
130 |
| - 10. Specifically, earlier versions use type <var>Integer</var> for the |
131 |
| - <var>AWorkCount</var> parameter of <var>TWorkEvent</var> and the |
132 |
| - <var>AWorkCountMax</var> parameter of <var>TWorkBeginEvent</var>, while |
133 |
| - later versions use <var>Int64</var>. |
134 |
| -<p> |
135 |
| - |
136 |
| -<p> |
137 |
| - <em>CodeSnip</em>'s source code uses conditional compilation to provide the |
138 |
| - correct event handler signatures – and it makes an intelligent guess |
139 |
| - at which signature to use depending on the version number provided by the |
140 |
| - Indy library code. Should the program fail to compile with an error in the |
141 |
| - <var>Web.UDownloadMonitor</var> unit, you should check the event signatures in |
142 |
| - your Indy <var>IdComponent</var> unit and then define the |
143 |
| - <code>INDY_WORKEVENT_INT64</code> environment variable if <var>Int64</var> |
144 |
| - parameters are required or <code>INDY_WORKEVENT_INT32</code> if |
145 |
| - <var>Integer</var> parameters are used. |
146 |
| -</p> |
147 |
| - |
148 |
| -<h3> |
149 |
| - Delphi RTL & VCL |
150 |
| -</h3> |
151 |
| - |
152 | 102 | <p>
|
153 |
| - Goes without saying really, but you need the RTL and VCL that ships with |
| 103 | + Goes without saying really, but you will also need the RTL and VCL that ships with |
154 | 104 | Delphi.
|
155 | 105 | </p>
|
156 | 106 |
|
@@ -230,23 +180,6 @@ <h3>
|
230 | 180 | <code>DELPHIROOT</code> will be set to the value of
|
231 | 181 | <code>DELPHIXE</code>.
|
232 | 182 | </dd>
|
233 |
| - <dt class="spaced"> |
234 |
| - <code>INDY10</code> - required |
235 |
| - </dt> |
236 |
| - <dd> |
237 |
| - Must be set to the directory where the Indy 10 components are installed. |
238 |
| - The code must have been built with the same version of Delphi used to |
239 |
| - compile <em>CodeSnip</em>. |
240 |
| - </dd> |
241 |
| - <dt class="spaced"> |
242 |
| - <code>INDY_WORKEVENT_INT64</code> <strong>or</strong> |
243 |
| - <code>INDY_WORKEVENT_INT32</code> - optional |
244 |
| - </dt> |
245 |
| - <dd> |
246 |
| - <a href="#indychanges">See above</a> for details. If used, only one of |
247 |
| - the environment variables may be defined. Defining both causes |
248 |
| - compilation to fail. |
249 |
| - </dd> |
250 | 183 | </dl>
|
251 | 184 |
|
252 | 185 | <h3>
|
|
391 | 324 | <li>
|
392 | 325 | <code>DELPHIROOT</code> <strong>or</strong> <code>DELPHIXE</code>
|
393 | 326 | </li>
|
394 |
| - <li> |
395 |
| - <code>INDY10</code> |
396 |
| - </li> |
397 | 327 | </ul>
|
398 | 328 |
|
399 | 329 | <h4>
|
@@ -440,17 +370,6 @@ <h4>
|
440 | 370 | </li>
|
441 | 371 | </ul>
|
442 | 372 |
|
443 |
| -<h4> |
444 |
| - Step 4 |
445 |
| -</h4> |
446 |
| - |
447 |
| -<p> |
448 |
| - Set <code>INDY_WORKEVENT_INT64</code> or <code>INDY_WORKEVENT_INT32</code> |
449 |
| - if necessary (explained <a |
450 |
| - href="#indychanges" |
451 |
| - >above</a>). |
452 |
| -</p> |
453 |
| - |
454 | 373 | <h3>
|
455 | 374 | Get the Source Code
|
456 | 375 | </h3>
|
|
0 commit comments