[omniORB] Bugs, bugs ...

Duncan Grisby dgrisby@uk.research.att.com
Mon, 30 Jul 2001 14:30:03 +0100


On Monday 30 July, Stanislav Ievlev wrote:

> 1. Why you haven't some usefull *_ptr classes like ObjectId_ptr and Any_ptr?

Because the C++ mapping specification doesn't say there should be such
definitions. Just use ObjectId* and Any* or the _var classes.

> 2. Why do you use ORB as a DynAny factory, and haven't  special 
> DynAnyFactory.

Because omniORB's DynAny support only conforms to CORBA 2.2. The
DynAnyFactory was added in 2.3.

> 3. All *_forany classes are useless 'cause there are not operators 
> between Any and *_forany (e.g. >>= and <<=). Why?

I don't understand this. omniidl does generate the insertion /
extraction operators, and it works fine. Do you have some example code
which fails?

> 4. function orb->create_basic_dyn_any(tc) with tc from create_array_tc() 
> go to CORBA::SystemException. Appropriate code applied to this letter.

That function is for creating DynAnys of _basic_ types. Arrays are not
a basic type. You must use create_dyn_array() to create a dynamic
array.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --