[omniORB] More on any's...

Duncan Grisby dgrisby@uk.research.att.com
Wed, 31 Jan 2001 11:20:29 +0000


On Monday 22 January, vonWedel@lfpt.rwth-aachen.de wrote:

> The patch from last week (bug #7) worked fine, now it seems
> that there is a problem in coercing an any into a certain type
> using the proprietary omniORB way, giving a type code
> as an argument to the value function of the any. However,
> it returns None when I call it the first time and returns an
> object reference (in this case) only when calling it a second
> time...

How strange. I don't know why that would happen, since the coercion
shouldn't affect the Any at all. If it failed the first time, it
should fail again. What are the types of the thing in the Any, and the
thing you are trying to coerce to?

Cheers,

Duncan.

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