[omniORB] memory allocation/free under Win32

Jonathan Clark jc@jonathanclark.com
Thu, 6 Jul 2000 03:38:22 -0700


I've had some problems with memory allocation and
deallocation under Win32.  The problem is that all corba 
free() type operations cause a crash when compiled/linked the wrong 
way. 

I fixed the problem previously by playing with cl.exe and link.exe
options, but recently I've moved to a new build process (and started
using omniorb 3.0) and the problem has resurfaced.  I'm not sure what 
I'm doing wrong.  Can you shed any light on this?  I'm using cl /MD 
(also tried /MT) to compile and linking with omni's *_rt.lib (also 
tried the debug versions *_rtd.lib).

Thanks,

Jonathan

-----Original Message-----
From: David Scott [mailto:djs@uk.research.att.com]
Sent: Thursday, July 06, 2000 2:23 AM
To: Jonathan Clark
Subject: RE: [omniORB] omniidl 3.0 request and questions


On Thu, 6 Jul 2000, Jonathan Clark wrote:

> ah ha.  thanks!  :)
>
No problem :)

Thanks for mentioning this- it's really difficult to spot where things are
a little strange/ unclear/ unintuitive when you're so close to something!

David

-- 
  Dave Scott, Research Engineer, AT&T Laboratories Cambridge UK