Archived
This forum has been archived. Please start a new discussion on GitHub.
Problem with slice
Hello!!
I compiled an aplication and I have a lot of problem with slice2javae, for example here is one of them:
Clases.ice:18: Sequence `allNotifications' cannot contain object values.
Here is Clases.ice:
#ifndef CLASES_ICE
#define CLASES_ICE
module Management{
class Notification
{
string idMachine;
string idGame;
string clase;
string name;
string info;
string timeStamp;
};
sequence<Notification> allNotifications;
dictionary<string,string> parameters;
};
#endif
can you help me?
Thanks
I compiled an aplication and I have a lot of problem with slice2javae, for example here is one of them:
Clases.ice:18: Sequence `allNotifications' cannot contain object values.
Here is Clases.ice:
#ifndef CLASES_ICE
#define CLASES_ICE
module Management{
class Notification
{
string idMachine;
string idGame;
string clase;
string name;
string info;
string timeStamp;
};
sequence<Notification> allNotifications;
dictionary<string,string> parameters;
};
#endif
can you help me?
Thanks
0
Comments
-
You cannot marshal objects with IceE. If you change that class to a struct it will work. If you need to use object-by-value with IceE you should contact info@zeroc.com.0