[omniORB] Client Object References

Duncan Grisby dgrisby@uk.research.att.com
Mon, 08 Nov 1999 11:19:09 +0000


On Friday 5 November, "ryan.tecco" wrote:

[...]

> 	void helloTwo()
> 	{ tt = ThingTwo::_narrow( to );
> 	  tt->helloTwo(); }

[...]

> thingThree.helloTwo(); // aborts

Is `to' in ThingTwo really a ThingTwo?  If not, the _narrow() will
return zero, which would cause the abort.

Cheers,

Duncan.

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