<div class="gmail_quote"><br><div class="im">Hi Luke,<br>
<br>
thanks for your reply and support. Yes i understand the concept thanks, but i have tryed to add e remove reference after the object Activation POA with<br> <br></div><div class="im"> test_p1_i * n=new test_p1_i;<br>
</div> n->name("Alex");<div class="im"><br>
test::p1_var ret=n->_this();<br></div><div class="im"> n->remove_ref();<br> return ret._retn();<br> <br>in the client:<br><br> test::p1_var l=login->function();<br> l->nome();<br> orb->destroy();<br>
<br>also if i make :<br>
<br></div> test::p1_ptr l=login->function();<div class="im"><br> l->nome();<br> CORBA::release(l);<br>orb->destroy();<br><br></div><div class="im">the object allocated from server is not be deallocated. however if in the server add another one n->_remove_ref();<br>
it be deallocated before return to client.<br>seem for the passing the object to client is added the reference another one... :(<br><br>maybe i had mistake in client caller?<br><br>Thanks <br>Regard<br>R!SC<br><br></div>
<br></div><br>