The error condition of the Xbase++ COM/ActiveX layer is thread local.
Function ComLastMessage() Foundation
Returns error message after calling GetObject() or CreateObject()
ComLastMessage() --> cMsg
A descriptive string of the error that occured in the functions GetObject() or CreateObject(). If the string returned is empty, no error occured.
The function ComLastMessage() can be used to obtain the error message after GetObject() or CreateObject() is called.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.