[omniORB] Problems with String_var

Duncan Grisby dgrisby@uk.research.att.com
Mon, 06 Aug 2001 15:15:01 +0100


On Monday 6 August, james.eggleston@vega.de wrote:

> Are you using the omniORB DLLs at run time? I had a similar (the
> same?)  problem... I believe the root of this is caused by a NT
> rquirement that that if the omniORB DLLs allocate memory, they
> should be used to deallocate that memory.  If you look in the kernel
> code that is detecting the error, it says that memory cannot be
> deallocated by a DLL that was not the creator of it.

Not quite. The problem is that you can't mix code compiled with
different debug settings. If you use a release omniORB DLL with a
debug application, you get assertion failures. If you use the debug
omniORB DLL, it works fine.

Cheers,

Duncan.

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