[omniORB] Any_var problem

Francois Laflamme francois.laflamme@voxco.com
Mon, 29 May 2000 10:24:48 -0400


I'm running the following code on NT and MsVisual C++ version 6 with
Omni280:
 
{
 CORBA::DynAny_var da;
 
 da = orb->create_basic_dyn_any(CORBA::_tc_long);
 da->insert_long(1);
 
 CORBA::Any_var a;
 a = da->to_any();
 
 da->destroy();
}

When the any_var (a) going out of scope I get an assertion on expression
_CtrlsValidHeapPointer(pUserData).
 
I've also test with Omni300 an it does the same thing. Does anyone have an
idea? I'm stuck still a week, help please !!! :-))
 
Thanks to all of you.

Frangois Laflamme
VOXCO

1134, Ste-Catherine Ouest
Suite 600
Montrial, Qc
H3B 1H4

EMail:  mailto:francois.laflamme@voxco <mailto:francois.laflamme@voxco>
.com <mailto:francois.laflamme@izusoft.com>
Tel.:   514-861-9255
Fax:    514-861-9209