[omniORB] New troubles with object reference
Nicolas Pierre
pierre at lifc.univ-fcomte.fr
Fri Mar 5 11:08:25 GMT 2004
Hello.
I'm still havong trouble with the creation of an object by reference.
I use the folowing code :
BalServant* myBal = new BalServant;
obj = poa->create_reference_with_id(myBal, "IDL:Bal:1.0");
ANd I get the folowing error :
error : invalid conversion from «BalServant*» to «long unsigned int»
error : initializing arg 1 of «PortableServer::ObjectId::ObjectId(long
unsigned int)»
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?
Bye
Nicolas.
More information about the omniORB-list
mailing list