Re: Failure to marshal strings in CORBA_any
- From: Michael Meeks <michael ximian com>
- To: Paco Moya <Francisco Moya uclm es>
- Cc: Lista de ORBit <orbit-list gnome org>
- Subject: Re: Failure to marshal strings in CORBA_any
- Date: Mon, 08 Dec 2003 22:10:47 +0000
Hi Paco,
On Fri, 2003-12-05 at 18:26, Paco Moya wrote:
> The example attached shows the problem. The string data is correctly
> marshalled but the typecode is set to something different from
> TC_CORBA_string.
Right; it says it's type 18 == tk_string; but you're doing a pointer
equivalence test:
use CORBA_TypeCode_equal or equivalent (or is_equal I forget).
Alternatively, just check _type->kind;
Regards,
Michael.
--
michael@ximian.com <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]