[omniORB] copying strings

Duncan Grisby dgrisby@uk.research.att.com
Mon, 23 Apr 2001 16:26:24 +0100


On Monday 23 April, =?iso-8859-1?Q?Joan_Ramon_L=F3pez_Gillu=E9?= wrote:

> I am using: VC++6.0,
> 		Win2000 professional and
> 		omnIORB 3.0.3 (with no patches)
> 
> The crash occurs within string_dup, when it executes delete on the old
> buffer.

Is the "crash" something about crtIsValidHeapPointer?  If so, it's
because you are mixing debug code with non-debug versions of the
omniORB libraries. Make sure you always use debug libraries with debug
code on Windows.

If that isn't the error, exactly what happens in the "crash"?

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --