[omniORB] OmniOrb virtual tables and NT

Dennis Payne dpayne@softscape.com
Wed, 21 Jul 1999 11:08:11 -0400


I created a project with several CORBA objects and added in the ability
to load more through DLLs.  These objects are derived from one of the
earlier classes.  Since the IDL classes are not exported, I simply
included the cpp files again.

The client using the CORBA objects also has DLLs for plugins for a
variety of reason they reside in the same directory.  So it loads the
CORBA object DLL finds it's not a client plugin and unloads it.  When it
then tries to get the objects from the server it generates an access
violation.  It seems to be using the virutual table from the unloaded
DLL.  So I modified the main objects to be exported from a single DLL.
But loading and unloading the new object still crashes the program.

I'm using OmniOrb 2.6 and VC++ 5.0

Dennis Payne
dpayne@softscape.com