1 |
|
---|
2 | <html>
|
---|
3 | <head>
|
---|
4 | <meta http-equiv="Content-Language" content="en-us">
|
---|
5 | <title>Importtypelib
|
---|
6 | Task</title>
|
---|
7 | <link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
|
---|
8 | </head>
|
---|
9 |
|
---|
10 | <body bgcolor="#ffffff" text="#000000" link="#525D76"
|
---|
11 | alink="#525D76" vlink="#525D76">
|
---|
12 |
|
---|
13 | <table border="0" width="100%" cellspacing="4">
|
---|
14 |
|
---|
15 | <!-- PAGE HEADER -->
|
---|
16 | <tr>
|
---|
17 | <td>
|
---|
18 | <table border="0" width="100%"><tr>
|
---|
19 | <td valign="bottom">
|
---|
20 | <font size="+3" face="arial,helvetica,sanserif"><strong>Importtypelib
|
---|
21 | Task</strong></font>
|
---|
22 | <br><font face="arial,helvetica,sanserif">Import a COM type library into the .NET framework.</font>
|
---|
23 | </td>
|
---|
24 | <td>
|
---|
25 | <!-- PROJECT LOGO -->
|
---|
26 | <a href="http://ant.apache.org/">
|
---|
27 | <img src="../../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0"/>
|
---|
28 | </a>
|
---|
29 | </td>
|
---|
30 | </tr></table>
|
---|
31 | </td>
|
---|
32 | </tr>
|
---|
33 |
|
---|
34 | <!-- START RIGHT SIDE MAIN BODY -->
|
---|
35 | <tr>
|
---|
36 | <td valign="top" align="left">
|
---|
37 |
|
---|
38 | <!-- Applying task/long-description -->
|
---|
39 | <!-- Start Description -->
|
---|
40 | <table border="0" cellspacing="0" cellpadding="2" width="100%">
|
---|
41 | <tr><td> </td></tr>
|
---|
42 |
|
---|
43 | <tr><td bgcolor="#525D76">
|
---|
44 | <font color="#ffffff" face="arial,helvetica.sanserif">
|
---|
45 | <a name="description">
|
---|
46 | <strong>Description</strong></a></font>
|
---|
47 | </td></tr>
|
---|
48 |
|
---|
49 | <tr><td><blockquote>
|
---|
50 | Import a COM type library into the .NET framework. <p> This task is a wrapper to .NET's tlbimport; it imports a tlb file to a NET assembly by generating a binary assembly (.dll) that contains all the binding metadata. It uses date timestamps to minimise rebuilds. <p> Example <pre> <importtypelib srcfile="xerces.tlb" destfile="xerces.dll" namespace="Apache.Xerces"/> </pre>
|
---|
51 | </blockquote></td></tr>
|
---|
52 |
|
---|
53 | </table>
|
---|
54 | <!-- End Description -->
|
---|
55 |
|
---|
56 | <!-- Start Attributes -->
|
---|
57 | <table border="0" cellspacing="0" cellpadding="2" width="100%">
|
---|
58 | <tr><td> </td></tr>
|
---|
59 | <tr><td bgcolor="#525D76">
|
---|
60 | <font color="#ffffff" face="arial,helvetica.sanserif">
|
---|
61 | <a name="attributes">
|
---|
62 | <strong>Parameters</strong></a></font>
|
---|
63 | </td></tr>
|
---|
64 | <tr><td><blockquote>
|
---|
65 | <table>
|
---|
66 | <tr>
|
---|
67 | <td bgcolor="#cccccc" valign="top" align="left">
|
---|
68 | <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Attribute</b></font>
|
---|
69 | </td>
|
---|
70 | <td bgcolor="#cccccc" valign="top" align="left">
|
---|
71 | <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Description</b></font>
|
---|
72 | </td>
|
---|
73 | <td bgcolor="#cccccc" valign="top" align="left">
|
---|
74 | <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Type</b></font>
|
---|
75 | </td>
|
---|
76 | <td bgcolor="#cccccc" valign="top" align="left">
|
---|
77 | <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Requirement</b></font>
|
---|
78 | </td>
|
---|
79 | </tr>
|
---|
80 | <!-- Attribute Group -->
|
---|
81 |
|
---|
82 | <!-- Attribute Group -->
|
---|
83 | <!-- Attribute -->
|
---|
84 | <tr>
|
---|
85 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
86 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">destfile</font>
|
---|
87 | </td>
|
---|
88 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
89 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">name the output file. required</font>
|
---|
90 | </td>
|
---|
91 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
92 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
|
---|
93 | </td>
|
---|
94 | <td bgcolor="#eeeeee" valign="top" align="left" rowspan="6">
|
---|
95 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">Optional</font>
|
---|
96 | </td>
|
---|
97 | </tr>
|
---|
98 | <!-- Attribute -->
|
---|
99 | <tr>
|
---|
100 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
101 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">extraoptions</font>
|
---|
102 | </td>
|
---|
103 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
104 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">set any extra options that are not yet supported by this task.</font>
|
---|
105 | </td>
|
---|
106 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
107 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
|
---|
108 | </td>
|
---|
109 | </tr>
|
---|
110 | <!-- Attribute -->
|
---|
111 | <tr>
|
---|
112 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
113 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">namespace</font>
|
---|
114 | </td>
|
---|
115 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
116 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">what namespace is the typelib to be in. required</font>
|
---|
117 | </td>
|
---|
118 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
119 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
|
---|
120 | </td>
|
---|
121 | </tr>
|
---|
122 | <!-- Attribute -->
|
---|
123 | <tr>
|
---|
124 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
125 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">srcfile</font>
|
---|
126 | </td>
|
---|
127 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
128 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">what is the source .tlb file? required.</font>
|
---|
129 | </td>
|
---|
130 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
131 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
|
---|
132 | </td>
|
---|
133 | </tr>
|
---|
134 | <!-- Attribute -->
|
---|
135 | <tr>
|
---|
136 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
137 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">unsafe</font>
|
---|
138 | </td>
|
---|
139 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
140 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">do you want unsafe code.</font>
|
---|
141 | </td>
|
---|
142 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
143 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
|
---|
144 | </td>
|
---|
145 | </tr>
|
---|
146 | <!-- Attribute -->
|
---|
147 | <tr>
|
---|
148 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
149 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">usesysarray</font>
|
---|
150 | </td>
|
---|
151 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
152 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">set this to map a COM SafeArray to the System.Array class</font>
|
---|
153 | </td>
|
---|
154 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
155 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
|
---|
156 | </td>
|
---|
157 | </tr>
|
---|
158 |
|
---|
159 |
|
---|
160 | </table>
|
---|
161 | </blockquote></td></tr>
|
---|
162 |
|
---|
163 | </table>
|
---|
164 | <!-- End Attributes -->
|
---|
165 |
|
---|
166 | <!-- Start Elements -->
|
---|
167 | <table border="0" cellspacing="0" cellpadding="2" width="100%">
|
---|
168 | <tr><td> </td></tr>
|
---|
169 |
|
---|
170 | <tr><td bgcolor="#525D76">
|
---|
171 | <font color="#ffffff" face="arial,helvetica.sanserif">
|
---|
172 | <a name="elements">
|
---|
173 | <strong>Parameters as nested elements</strong></a></font>
|
---|
174 | </td></tr>
|
---|
175 |
|
---|
176 | <tr><td><blockquote>
|
---|
177 |
|
---|
178 | </blockquote></td></tr>
|
---|
179 |
|
---|
180 | </table>
|
---|
181 | <!-- End Elements -->
|
---|
182 |
|
---|
183 |
|
---|
184 | </td>
|
---|
185 | </tr>
|
---|
186 | <!-- END RIGHT SIDE MAIN BODY -->
|
---|
187 |
|
---|
188 | <!-- FOOTER SEPARATOR -->
|
---|
189 | <tr>
|
---|
190 | <td>
|
---|
191 | <hr noshade="" size="1"/>
|
---|
192 | </td>
|
---|
193 | </tr>
|
---|
194 |
|
---|
195 | <!-- PAGE FOOTER -->
|
---|
196 | <tr>
|
---|
197 | <td>
|
---|
198 | <div align="center"><font color="#525D76" size="-1"><em>
|
---|
199 | Copyright © 2000-2003, Apache Software Foundation
|
---|
200 | </em></font></div>
|
---|
201 | </td>
|
---|
202 | </tr>
|
---|
203 |
|
---|
204 | </table>
|
---|
205 |
|
---|
206 | </body>
|
---|
207 | </html>
|
---|