Sends an error message to the parent application (e.g. L3DT).
void CExtAPI::ReportError(const char* lpErrorMessage);
| Name | Type | Comment |
|---|---|---|
| lpErrorMessage | const char* | Pointer to a C-style string containing the error message. |
None (void).
Plugins should use ReportError in preference to their own error handling methods (such as MessageBox), as this function also logs the error message to a file for easy debugging (see log.txt).