Re: Failure to marshal strings in CORBA_any



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]