[omniORB] Is resolve_initial_references() implemented right?
Duncan Grisby
dgrisby@uk.research.att.com
Thu, 20 Dec 2001 10:45:30 +0000
On Friday 14 December, Jaap de Wolff wrote:
> When creating orb = CORBA::ORB_init() from the NTService, and then load a
> DLL (let's say CorbaDLL), then the call from CorbaDLL
> orb->resolve_initial_reference() let crash the system.
> This is because from CorbaDLL in the file omniInternal.cc the
> omni::internalLock is a NULL pointer.
This sort of thing should work. omniORB is littered with the ugliness
that Windows requires to properly export these things from DLLs.
Perhaps you are managing to link two instances of the omniORB library
into the same process?
Does anyone have more experience with DLLs on Windows?
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --