The CADGetLastError function returns the last error code and error message.
Syntax
int CADGetLastError(
LPCSTR lpBuf
);
Parameters
lpBuf |
Points to the buffer for error message. If this parameter is NULL, no error message is retrieved |
Return Value
The return value is one of following error-codes:
CADERR_GENERAL
CADERR_INVALID_HANDLE
CADERR_INVALID_INDEX
CADERR_FILE_NOT_FOUND
CADERR_FILE_READ
If lpBuf is not NULL, the specified buffer contains responding error message as null-terminated string.
See Also
© 2003-2024 CADSoftTools
Go to CAD DLL