[omniORB] ActiveX

Wittig, Juergen Juergen.Wittig@vs.dasa.de
Wed, 8 Sep 1999 09:10:55 +0200



David,

this is probably due to the scanvenger thread still running in your
control, which will prohibit orderly control shutdown.

Try running without the scanvenger

>Yes, if I turn the "out scavenger" thread off by passing command line 
>option "-ORBoutConScanPeriod 0" to ORB_init this problem doesn't 
>occur. Thanks for this suggestion!

Alternatively, shut the scanvenger thread down before you close the control

>To stop the "out scavenger" thread prior to returning to VB (rather than
just 
>not starting it in the first place by using "-ORBoutConScanPeriod 0" 
>as below) call "StrandScavenger::killOutScavenger();" the include for 
>this is <scavenger.h> which is in 
>".../omniORB_2.7.1/src/lib/omniORB2/orbcore" in the directory tree.

Hope this helps,

Juergen


-----Original Message-----
From: David Hyde [mailto:davidh@cavendish.co.uk]
Sent: Tuesday, September 07, 1999 6:12 PM
To: OmniOrb mailing list (E-mail)
Subject: [omniORB] ActiveX


Has anyone had any experience with connecting to OmniORB within an ActiveX
control?  No - I thought not!!!

In the control that I have built if I call orb =
CORBA::ORB_init(argc,argv,"omniORB2") then when I close down the application
that the control is embedded in the application does not disappear from the
task manager.  (I'm building the control using VC++ 5, placing it into a
Visual Basic 6 application and running on NT4 by the way).  If I don't make
the call to ORB_init the app unloads from memory properly.

Is there any static memory which is not being deallocated or something here.
Does anyone have any idea what is going on?

Thanks

David Hyde