Rajesh Khan
2011-12-21 15:50:34 UTC
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
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