[omniORB] _CORBA_ObjRef_Member problem in omniORB 2.8.0

Duncan Grisby dgrisby@uk.research.att.com
Tue, 11 Dec 2001 15:53:30 +0000


On Wednesday 5 December, Alf Nilsson wrote:

> So can someone please tell me why the CORBA_ObjRef_Member is treated 
> differently in the 2nd case?
> 
> OS = win2k, sp2
> Compiler = Visial C++, sp4

I suspect your compiler is getting confused. I would always recommend
using _duplicate, rather that relying on the _var conversion operators
to do the duplicate for you. Apart from anything else, it's much more
obvious to the reader what's going on.

Cheers,

Duncan.

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