[omniORB-dev] Reloading DLLs

Duncan Grisby duncan@grisby.org
Tue, 29 Apr 2003 12:20:20 +0100


On Wednesday 23 April, "Andrew Wilde" wrote:

> We have observed seems problem reloading DLLs when using
> Omniorb4.0.0. To boil the problem down I wrote some test code based
> on the echo example that comes with OmniORB.
>
> Basically, the test code loads and unloads a DLL twice . The DLL
> implements the echo object so is linked with the echo stub object
> file (echoSK.obj). The test works fine until I also link the test
> code against the echo stub.  When I run the example I get the
> following error message at the point it attempts to load the DLL for
> the second time:

Stubs cannot be safely unloaded in omniORB versions prior to 4.0.1.

Cheers,

Duncan.

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