[omniORB] Problem with ORB_init() and the modification of argv

Duncan Grisby duncan at grisby.org
Sat Aug 9 15:31:20 BST 2003


On Friday 1 August, p.klotz at icoserve.com wrote:

> According to the docs, ORB_init() removes all arguments starting with -ORB
> from argv.
> 
> Since I do not have access to the real argv in my client program I
> construct it myself.
> 
> I would like to free it afterwards but omniORB does not change the value of
> argc although it is passed by reference to ORB_init().
> So I am not able to determine how many options remain in the list.

ORB_init does change the value of argc.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list