[omniORB] Beginners Question: ORB_Init in a GUI app.

Bruce Visscher visschb@rjrt.com
Wed, 12 Jan 2000 15:33:40 -0500



"A.A.Gerritsen" wrote:
>   int    pseudoargc = 1 ;
>   char** pseudoargv = new char*[1] ;
>   pseudoargv[0] = "SControl.exe" ;
>   m_theORB = CORBA::ORB_init(pseudoargc, pseudoargv ,"omniORB2") ;

AFAIK, this should work fine.

In fact, you should be able to

   int    pseudoargc = 0 ;
   m_theORB = CORBA::ORB_init(pseudoargc, 0 ,"omniORB2") ;

if you want.

IMHO, the problem lies elsewhere.

HTH,

Bruce