[omniORB] Date: Fri, 4 Jun 1999 10:32:42 +0100
David Riddoch
djr@uk.research.att.com
Thu, 10 Jun 1999 15:18:20 +0100 (GMT)
You need to pass a pointer or an _var type.
eg.
OctetSeq_var s;
obj->sendtext(s);
... or ...
OctetSeq* s;
obj->sendtext(s);
See CORBA 2.2 p20-66.
Cheers,
David
On Fri, 4 Jun 1999 andrew.brown@bt.com wrote:
> Hi,
> Could anyone help. I'm trying to pass a sequence of octets out
> through a corba interface, unfortunately I keep getting the an. Obviously
> I'm not using the function correctly, could anyone point me in the right
> direction. Here's the information I get from the compiler :
>
> client.cc:73: no matching function for call to `test::Account::sendtext
> (_CORBA_Unbounded_Sequence__Octet &)'
> account.hh:61: candidates are:
> test::Account::sendtext(_CORBA_Sequence_OUT_arg<_CORBA_Unbounded_Sequence__O
> ctet,_CORBA_Sequence_Var<_CORBA_Unbounded_Sequence__Octet,unsigned char> >)
>
> Thanks
>
> Andrew Brown.
>
>