[omniORB] New troubles with object reference
Duncan Grisby
duncan at grisby.org
Fri Mar 5 17:45:00 GMT 2004
On Friday 5 March, Nicolas Pierre wrote:
> I use the folowing code :
>
> BalServant* myBal = new BalServant;
> obj = poa->create_reference_with_id(myBal, "IDL:Bal:1.0");
[...]
> I checked the poa.h file, and the function take :
> virtual CORBA::Object_ptr create_reference_with_id(const ObjectId& oid,
> const char* intf) = 0;
>
> So, does anyone have any idea?
Maybe the types of the arguments would give you a hint that you're
trying to do the wrong thing. I assume you want to call
activate_object_with_id, not create_reference_with_id.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list