#include "ltmf.h"
C Syntax |
BSTR ltmfGetErrorText (errorcode) |
C++ Syntax |
BSTR ltmfGetErrorText (errorcode) |
long errorcode; |
error code |
Gets the error string for the specified error code.
Parameter |
Description |
errorcode |
The HRESULT error code for which to get the error string. |
Returns a character string that contains the error string for the specified error code. The user should call SysFreeString when this string is no longer needed.
Even though the ltmfGetErrorText function can be called from C and C++, it is not necessary to use it. The standard automation error object is available in these languages when events are fired. Invalid error codes passed to this function will return an "Internal error" message.
Please note that the ltmfGetErrorText function is global (not attached to a particular interface/object). You use this function to get the description string for the error code returned by any object's function.
Required DLLs and Libraries
LTMF For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win 32, x64
For a C++ example, refer to Recompressing an MP4 File for C++.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET