Correction : Actually i get the marshall error when trying to access the object on the client<br><br><div class="gmail_quote">On Wed, Dec 21, 2011 at 2:50 AM, Rajesh Khan <span dir="ltr"><<a href="mailto:rajeshkhan808@gmail.com">rajeshkhan808@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi i am getting a CORBA::marshal exception while trying to send an object<br><br>This is the function implimentation at the server <br>
<br>CustObj_Cont* CustObj_implimentation::get_obj() throw (CORBA::SystemException)<br>{<br>
<br> CustObj_Cont vctor_;<br><br> CustObj obja;<br> obja.val =10;<br><br> vctor_.length(1);<br> vctor_[0]=obja;<br> return &vctor_;<br>}<br><br>and when i access the method on the receiver (client) using<br>
<br>static void ProcessObject(TestInt_ptr e)<br>{<br> CustObj_Cont* obja = e->get_obj(); //At this point i get the CORBA marshall error<br>}<br><br><br>
</blockquote></div><br>