[omniORB] memory fault with from_char

Duncan Grisby duncan@grisby.org
Sat Jun 1 03:58:00 2002


On Friday 31 May, bjorn rohde jensen wrote:

> I believe pd_ncs_c is supposed to point to some agent
> to perform a native code set marshaling of a char,
> unfortunately it happens to be a null pointer with you
> demo code.

You must call ORB_init() before doing anything with Anys that involves
chars or wchars. The CORBA spec says that you can't rely on being able
to do anything CORBA related until you have called ORB_init().

Cheers,

Duncan.

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