[omniORB] activate_object_with_id problem

V Jovanovic canontriplex@yahoo.com
Wed, 19 Dec 2001 11:13:22 -0800 (PST)


The following code raises system exception on SGI, and
also it doesn't work on Windows2000 (the instruction 
"0x77fcb007" referenced memory at "0x00000000". The
memory could not be written).

cad_server_i* myserver = new cad_server_i();
PortableServer::ObjectId_var oid =
PortableServer::string_to_ObjectId("cad");
poa->activate_object_with_id(oid,myserver);

If I activate object with just using

poa->activate_object(myserver);

everything is OK.

What could be the problem here?

Vin

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com