[omniORB] Problems with FreeLibrary() and omniORB.

Ken Feuerman kfeuerma@Adobe.COM
Wed, 27 Oct 1999 14:40:43 -0700


Searching for clarification.....

If (in omniORB2.8.0) ORB initialization consists of:

orb = CORBA::ORB_init(...);
boa = orb->BOA_init(....);
boa->impl_is_ready(0, 1);

Should ORB finalization consist of:

boa->impl_shutdown();
boa->destroy();
orb->NP_destroy();   /* omniORB specific */

Is this correct?

--Ken Feuerman
Adobe Systems, Inc.

 

At 05:14 PM 10/27/99 -0400, Bruce Visscher wrote:
>Mike,
>
>Have you tried calling BOA::impl_shutdown() (assuming you've called
>BOA::impl_is_ready)?
>
>Bruce
>
>Mike Bendickson wrote:
>> 
>> I think my question is this:  How do I free all omniORB resources?
>> 
>> I've got a client DLL with some functions using omniORB.  Programs using
>> this DLL are calling LoadLibrary() and FreeLibrary().  The problem is that
>> FreeLibrary() hangs if omniORB calls have been made.  It works fine if only
>> non-CORBA related DLL calls were made.
>> 
>> Any suggestions?  I've tried calling CORBA::release(), but with no success.
>> 
>> Thanks.
>> -Mike
>
>
>