Hi All,
I would like to know how to create a Mailbox dynamically in the source ( .c file ), I have the example where the mailbox is created statically through the .cfg file.
Waiting for a reply.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi All,
I would like to know how to create a Mailbox dynamically in the source ( .c file ), I have the example where the mailbox is created statically through the .cfg file.
Waiting for a reply.
Hi HR,
I tried implementing the dynamic creation of mailbox as given in the example. But the Mailbox_create fails to return a Mailbox_Handle (returns NULL) and I get a message Mailbox Create Failed. Can you suggest me as to why the mailbox creation fails ?
Hi HR,
Thanks for your reply. I found out that the culprit was the .cfg file which caused this problem. I tried with the new cfg file and it worked. I guess that the cfg file had other modules added which made allocation of memory to create mailbox to fail. This was my observation.
And also I tried creating 3 Mailboxes, it was able to create 1 successfully but not the other two, the reason was that the Error_Block definition and assignment was not used for any of the three Mailbox_create function calls.
Now that i've added Error_Block's for all the three Mailboxes it works perfectly fine.