[omniORB] omniEvents
bjorn rohde jensen
bjensen@fastmail.fm
Wed Feb 19 22:26:00 2003
Hi Donald,
Well, i did a bit of #ifdef'ing in the omniEvents source
to fix that a while ago, you could do something similar.
I have released a very minor update of omniEvents, which
should be able to build with omniORB4 still using the old
build system.
#ifdef __OMNIORB4__
argv[1] = strdup("-ORBendPoint");
argv[2] = new char[32 + 1];
sprintf(argv[2], "giop:::%d", port);
CORBA::ORB_ptr orb = CORBA::ORB_init(argc,argv,"omniORB4");
CORBA::BOA_ptr boa = orb->BOA_init(argc,argv,"omniORB4_BOA");
#else
argv[1] = strdup("-BOAiiop_port");
argv[2] = new char[32 + 1];
sprintf(argv[2], "%d", port);
CORBA::ORB_ptr orb = CORBA::ORB_init(argc,argv,"omniORB3");
CORBA::BOA_ptr boa = orb->BOA_init(argc,argv,"omniORB3_BOA");
#endif
Yours sincerely,
Bjorn