lakoon
29th June 2007, 18:49
Hello
I'm just struggling with the *.message IPC commands. In a BaanIV c4 Windows environment.
So far I have a script wich works fine to receive message in a mailslot queue which i have created from baan side.
If I try to open a mailslot queue from baan side which was created from an outside process with the following command, I get return value -1 and e = 0.
m2.id = open.message(1, "mailbox", 2)
Then I tried the following:
m2.id = open.message(1, "mailbox", 0)
I get a return value -1 and e = 17 what means that the mailslot queue already exists and is used by a process.
So, how can I connect to that queue to send information to the outside process?
Any idea would really help...
/lakoon
I'm just struggling with the *.message IPC commands. In a BaanIV c4 Windows environment.
So far I have a script wich works fine to receive message in a mailslot queue which i have created from baan side.
If I try to open a mailslot queue from baan side which was created from an outside process with the following command, I get return value -1 and e = 0.
m2.id = open.message(1, "mailbox", 2)
Then I tried the following:
m2.id = open.message(1, "mailbox", 0)
I get a return value -1 and e = 17 what means that the mailslot queue already exists and is used by a process.
So, how can I connect to that queue to send information to the outside process?
Any idea would really help...
/lakoon