[omniORB] corbaloc/corbaname
Duncan Grisby
dgrisby@uk.research.att.com
Thu, 07 Feb 2002 15:23:31 +0000
On Wednesday 6 February, Nick Murtagh wrote:
> I use it like this, which works:
I think you have rather missed the point of corbaname. Your code is
equivalent to
const char* corbaname =
"corbaname::myserver.com#put.something/interesting.here";
newobj = orb->string_to_object(corbaname);
That's why it's a useful thing to have -- it saves all the explicit
messing with name structures.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --