[omniORB] exception thrown when using omniORB command line args
Bob Nashus
bobnashus@yahoo.com
Tue, 5 Jun 2001 08:54:23 -0700 (PDT)
It doesn't print any trace info. It's throwing an
access violation exception during the call to
ORB_init(). Here's a sample of the code:
CORBA::ORB_var orb;
try
{
orb=CORBA::ORB_init(argc,argv,"omniORB3");
...
}
catch(CORBA::SystemException&)
{
}
catch(CORBA::Exception&)
{
}
catch(omniORB::fatalException &)
{
}
catch(...)
{
// exception is caught here
}
Any ideas? Is there any addition info you need?
Thanks.
Bob
--- Duncan Grisby <dgrisby@uk.research.att.com> wrote:
> On Thursday 31 May, Bob Nash wrote:
>
> > I have an app that throws an exception every time
> I
> > start it with the -ORBtraceLevel (e.g.
> -ORBtraceLevel
> > 10) command line arg. But, it only happens when
> the
> > omniORB libs are staticly linked with the app. It
> > works just fine when I build it with the dynamic
> libs.
>
> That's very odd. Do you know what exception it
> throws? Does it print
> any tracing before it dies?
>
> Cheers,
>
> Duncan.
>
> --
> -- Duncan Grisby \ Research Engineer --
> -- AT&T Laboratories Cambridge --
> -- http://www.uk.research.att.com/~dpg1 --
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/