[omniORB] Stuffing Sequences into Anys

Mike Ladwig mike@twinpeaks.prc.com
Fri, 21 May 1999 14:34:28 -0400


Hello-

I'm having a bit of trouble getting some Orbix code to work correctly on
omniOrb.

Boiling it down gets to this issue:

---------------
stringSequence foo;
foo.length(0);

Any *bar = new CORBA::Any;
*bar <<= keys;

cerr << (bar->type())->kind() << endl;
---------------

When I run this fragment, I don't get 19 (tk_sequence) as I expected to
(and do under Orbix), instead I get 21 (tk_alias).

I probably just have another Ionaism to get out of my code; could
someone point me in the right direction?

Thanks,
mike.