[omniORB] problems with Matrix

Tomás Dias Almeida tomas.almeida at gmail.com
Fri Nov 17 17:40:31 GMT 2006


Hello !
I have defined a structure Image containing a matrix. But the client doesn't
work.
There is an error message: " terminate called after throwing an instance of
'CORBA::BAD_PARAM' "
and I think the problem is the initialization of the matrix:

   Image img;
   img.m[0][0] = (CORBA::Octet) 6;
   ...
   img.m[2][2] = (CORBA::Octet) 6;
   img.nbl = 3;
   img.nbc = 3;

---- file.idl
typedef sequence<sequence<octet>  > Matrix;
struct Image{
  Matrix m;
  short _nbc;
  short _nbl;
};

Please help me, where can i find a solution ?

[]'s

===============================
Tomás Dias ALMEIDA
tomas.almeida at gmail.com
===============================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20061117/f0bf9522/attachment.htm


More information about the omniORB-list mailing list