[omniORB] CORBA::Any marshalling endian problem

Steve Donovan SJDonova at csir.co.za
Tue Apr 17 11:04:10 BST 2007


Hi guys,

Thanks to Duncan's tremendous support I've finally got a Omniorb C++
client running on my embedded Gumstix talking to a Java server. It
faultlessly handles the little-endian nature of the device, except when
I try to put stuff into a CORBA::Any.  If I put a double into an Any, it
will not arrive properly.

The workaround, of course, is to pass a octet sequence containing the
double (in bigendian format) and extract that on the server, but this is
less  than elegant.

Anybody hit similar problems?

steve d.


-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
CallCentre at csir.co.za.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.




More information about the omniORB-list mailing list