Can you provide more details, such as what is the error message, where is the TextToMessage() routine defined relative to the code that has the error.
Can you provide more details, such as what is the error message, where is the TextToMessage() routine defined relative to the code that has the error.