<div>Hi,</div>  <div>&nbsp;</div>  <div>I'm trying to get the receptacle names from a component in CIAO 0.5.9 but I'm not succeeding in printing the port name. The code I'm using is the following:</div>  <div>&nbsp;</div>  <div>&nbsp;&nbsp;&nbsp; Components::CCMObject_var recs = ::Components::CCMObject::_narrow(component_._get_component());<BR>&nbsp;&nbsp;&nbsp; ::Components::ReceptacleDescriptions* recdescs = recs-&gt;get_all_receptacles();<BR>&nbsp;&nbsp;&nbsp; ::Components::ReceptacleDescription recdesc;<BR>&nbsp;&nbsp;&nbsp; // Print current contents<BR>&nbsp;&nbsp;&nbsp; for (CORBA::ULong i = 0; i &lt; recdescs-&gt;length(); i++) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; recdesc = (*recdescs)[i];<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ACE_DEBUG((LM_DEBUG, "Receptacles! [%s] \n" ,recdesc.name));</div>  <div>&nbsp;</div>  <div>I'm getting an compilation error when trying to assign the value to "recdesc". I would apprecciate if someone can help me on how can I get the port names
 from the ReceptaclesDescriptions sequence.</div>  <div>&nbsp;</div>  <div>Thank you.</div>  <div>&nbsp;</div>  <div>Gab</div><p>&#32;


      Alertas do Yahoo! Mail em seu celular. <a href="http://br.mobile.yahoo.com/mailalertas/">Saiba mais</a>.