[omniORB] copying strings

Duncan Grisby dgrisby@uk.research.att.com
Mon, 23 Apr 2001 10:41:26 +0100


On Sunday 22 April, =?iso-8859-1?Q?Joan_Ramon_L=F3pez_Gillu=E9?= wrote:

> Please, can anybody tell me what am I doing wrong in thye following fragment
> of code?
> 
> The problem is with copyinn nameBuf over (*name)[0].kind. If instead of
> copying nameBuf, I copy a (const char *), as in the previous line,
> everything works fine.

That code works perfectly fine for me. What exactly goes wrong for
you?  What platform are you using?  What version of omniORB?

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --