[omniORB] Visual C++, assertion when linking with omniORB303_rtd but NOT with omniORB3d.lib ?
Tobias Eriksson
tobias.eriksson@comopt.com
Thu, 28 Feb 2002 16:35:04 +0100
A method call to a corba object like:
void printMessage(in string msg);
(that is implementes like: inline void printMessage(const
char* msg){};)
results in:
=20
Assertion Failed!
_CrtValidHeapPointer(pUserData)
=20
when deallocating a CORBA::String_var (This error is caused even if the
const char* msg is not used).
=20
Libraries linked:
omniDynamic303_rtd.lib omnithread2_rtd.lib omniORB303_rtd
=20
But it does work if we link with the static version of
omniORB303_rtd.lib (that is omniORB3d.lib)
Regards
Tobias
=20
=20
Tobias Eriksson
ComOpt AB
Michael L=F6fmans gata 6
254 38 Helsingborg, Sweden
Direct: +46 42 389918
Phone: +46 42 389900
e-mail: Tobias.Eriksson@comopt.com <mailto:Tobias.Eriksson@comopt.com>=20
=20