Tomás Dias Almeida
2006-11-17 22:40:29 UTC
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
***@gmail.com
===============================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20061117/f0bf9522/attachment.htm
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
***@gmail.com
===============================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20061117/f0bf9522/attachment.htm