[omniORB] Getting a marshal Error
Rajesh Khan
rajeshkhan808 at gmail.com
Wed Dec 21 02:50:01 GMT 2011
Hi i am getting a CORBA::marshal exception while trying to send an object
This is the function implimentation at the server
CustObj_Cont* CustObj_implimentation::get_obj() throw
(CORBA::SystemException)
{
CustObj_Cont vctor_;
CustObj obja;
obja.val =10;
vctor_.length(1);
vctor_[0]=obja;
return &vctor_;
}
and when i access the method on the receiver (client) using
static void ProcessObject(TestInt_ptr e)
{
CustObj_Cont* obja = e->get_obj(); //At this point i get the CORBA
marshall error
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20111221/4e9f77a2/attachment.htm
More information about the omniORB-list
mailing list