[omniORB] Release /debug versions
Kelly Burkhart
Kelly@tradebotsystems.com
Mon, 2 Apr 2001 10:19:53 -0500
> -----Original Message-----
> From: owner-omniorb-list@uk.research.att.com
> [mailto:owner-omniorb-list@uk.research.att.com]On Behalf Of SaE
> Sent: Monday, April 02, 2001 8:08 AM
> To: omniorb-list
> Subject: [omniORB] Release /debug versions
>
>
> Hello omniorb-list,
>
> My DLL library using omniORB (as a static lib).. so If I build my
> library with debug information (using omni debug version libs)
> External application which using my DLL crashing cause my lib
> falling down by SystemException on obj =
> orb->resolve_initial_references("RootPOA");
> this happen only if External application build as a release..
> If external application build as a debug version it's works fine..
>
> And vice versa.. If I build my DLL as a release an external
> application is a debug version.. my DLL falling in exception in the
> same place..
>
> What the difference???
> any Idea how to make it work with all programs?
Windows has different memory allocation schemes for debug and release
versions. Allocating in debug code and deallocating in release code (or
opposite) will cause an exception.
-K