[omniORB] ORB_init 3rd parameter
Luke Deller
ldeller at xplantechnology.com
Tue Jun 8 19:37:19 BST 2004
Frederic Prin wrote:
> Hi all,
Hi Frederic
> 1) What is the ORB_init 3rd argument default value ?
> Or: are ORB_init(argc, argv, "omniORB4") and ORB_init(argc, argv)
> equivalent ?
>
> (I use omniORB 4.0.3.)
The default value of the 3rd argument of ORB_init is "".
See the relevant header file (at the end):
http://cvs.sourceforge.net/viewcvs.py/omniorb/omni/include/omniORB4/Attic/CORBA_ORB.h?rev=1.1.2.7&only_with_tag=omni4_0_develop&view=auto
> 2) Is there a difference between a -ORB/omniparam=value/ set in argv and
> {/omniparam,value/}// set in the 4th ORB_init argument ?
If an option is specified in both, then the option in argv overrides the
options in the 4th ORB_init argument.
For details, see
http://omniorb.sourceforge.net/omni40/omniORB/omniORB004.html
Regards,
Luke.
More information about the omniORB-list
mailing list