[omniORB] ORB_init 3rd parameter
Frederic Prin
frederic.prin at silvaco.com
Tue Jun 8 12:19:19 BST 2004
Thanks Luke,
But I think I was not clear enough on my first question: I know the
default value for 3rd ORB_init param is ""
(I'm not so dummy ;-) )
My question was, do "" is equivalent to "omniORB4" when using
omniORB4.03 ?
So, are ORB_init(argc, argv, "omniORB4") and ORB_init(argc, argv)
equivalent ?
Or maybe what is the meaning of passing "omniORB4" or "omniORB3" ?
In fact what I'm looking for is which version of GIOP am I using ?
I want to be sure to use the GIOP 1.2.
Thanks again
FredP
-----Original Message-----
From: omniorb-list-bounces at omniorb-support.com
[mailto:omniorb-list-bounces at omniorb-support.com] On Behalf Of Luke
Deller
Sent: mardi 8 juin 2004 10:37
To: Frederic Prin
Cc: omniorb-list at omniorb-support.com
Subject: Re: [omniORB] ORB_init 3rd parameter
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/Atti
c/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.
_______________________________________________
omniORB-list mailing list
omniORB-list at omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
More information about the omniORB-list
mailing list