I’m having problems with the function ‘MsgReceive()’. I’ve created a timer which delivers an event when the timer fires. But in the function ‘MsgReceive()’ I get an error, this error is the error number 88, EILSEQ, “Illegal Byte Sequence”. Do you now what does it mean? and, how can avoid it?
Excuse me for the delayed reply. I’ve been out during thge last two weeks.
The QNX version is 6.1 running in a x86 machine. I don’t use shared libs.
The code of the functions is more detailed here, where Admin() and Control() are launched in “main()”:
---------------------------- Start of code ----------------------------
Generally the sequence is ChannelCreate(), then MsgReceive(). ConnectAttach() is called by the client which is “sending” to the channel. The code should look like this:
chid = ChannelCreate(…);
MsgReceive(chid, …);
Note that the first parameter of the MsgReceive() call is a CHannelID, not a COnnectionID.