Add error checking in MBoxSendReal