<DIV>I have my IDL file:</DIV>
<DIV>&nbsp;</DIV>
<DIV>interface MyObject {<BR>&nbsp; struct PERSON {<BR>&nbsp;&nbsp;&nbsp; long lId;<BR>&nbsp;&nbsp;&nbsp; string&lt;32&gt; sName;<BR>&nbsp; };</DIV>
<DIV>&nbsp; typedef sequence&lt;PERSON&gt; PERSONS;</DIV>
<DIV>&nbsp; void ShowPerson(out PERSONS p);<BR>};<BR></DIV>
<DIV>and I have my method definition for ShowPerson:</DIV>
<DIV>&nbsp;</DIV>
<DIV>class MyObject_i:public POA_MyObject,public PortableServer::RefCountServantBase {<BR>public:<BR>&nbsp;virtual void ShowPerson(MyObject::PERSONS_out p);<BR>};</DIV>
<DIV>void MyObject_i::ShowPerson(MyObject::PERSONS_out p) {<BR>&nbsp;p=new MyObject::PERSONS();<BR>&nbsp;p-&gt;length(2);<BR><STRONG>&nbsp;p[0].lId=1L; </STRONG><STRONG><FONT color=#ff0000>// line 12<BR></FONT>&nbsp;p[0].sName=CORBA::string_dup("Hola"); </STRONG><STRONG><FONT color=#ff0000>// line 13<BR></FONT>&nbsp;p[1].lId=2L; </STRONG><STRONG><FONT color=#ff0000>// line 14<BR></FONT>&nbsp;p[1].sName=CORBA::string_dup("Mundo"); </STRONG><FONT color=#ff0000><STRONG>// line 15<BR></STRONG></FONT>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>But in MSVC++ (6.0) it didn't compile :^(</DIV>
<DIV>&nbsp;</DIV>
<DIV>The errors:</DIV>
<DIV>&nbsp;</DIV>
<DIV>seqout.cpp(12) : error C2666: '[]' : 2 overloads have similar conversions<BR>seqout.cpp(12) : error C2228: left of '.lId' must have class/struct/union type<BR>seqout.cpp(13) : error C2666: '[]' : 2 overloads have similar conversions<BR>seqout.cpp(13) : error C2228: left of '.sName' must have class/struct/union type<BR>seqout.cpp(14) : error C2666: '[]' : 2 overloads have similar conversions<BR>seqout.cpp(14) : error C2228: left of '.lId' must have class/struct/union type<BR>seqout.cpp(15) : error C2666: '[]' : 2 overloads have similar conversions<BR>seqout.cpp(15) : error C2228: left of '.sName' must have class/struct/union type</DIV>
<DIV>&nbsp;</DIV>
<DIV>what happen? :^/</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank!</DIV><p>
                <hr size=1> 
Ahora podés usar Yahoo! Messenger en tu <b>Unifón</b>, 
en cualquier momento y lugar.<br> 
Encontrá más información <a href="http://ar.mobile.yahoo.com/sms.html">aquí</a>.