<div>Hi,</div> <div> </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> </div> <div> Components::CCMObject_var recs = ::Components::CCMObject::_narrow(component_._get_component());<BR> ::Components::ReceptacleDescriptions* recdescs = recs->get_all_receptacles();<BR> ::Components::ReceptacleDescription recdesc;<BR> // Print current contents<BR> for (CORBA::ULong i = 0; i < recdescs->length(); i++) {<BR> recdesc = (*recdescs)[i];<BR> ACE_DEBUG((LM_DEBUG, "Receptacles! [%s] \n" ,recdesc.name));</div> <div> </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> </div> <div>Thank you.</div> <div> </div> <div>Gab</div><p> 
Alertas do Yahoo! Mail em seu celular. <a href="http://br.mobile.yahoo.com/mailalertas/">Saiba mais</a>.