[omniORB] What the difference betwen long & double

Boris Khanales boris@imagine-sw.com
ue, 7 Jul 1998 12:09:58 -0400


I have kind of complex data structure:




foo.idl

struct Foo
{
sequence<any> data;
};

interface Hoo
{
long method( in Foo f );
}


The client does something like this:

Foo f;
f.data.length(1);

Foo f2;
f2.data.length(1);

// Attn !!!
if I do this:
f2.data[0] <<= 1L; Everithing OK

BUT
f2.data[0] <<= 1.1; It does not work!!!

f.data[0] <<= f2;



Any ideas?
HELPPP!?!?!