Gets last error code of executing LTCustomizer21 function LTCustomizer21 for AutoCAD LT reference manual

ActiveX
    Function get_last_error_code() As Integer
C/C++
   int WINAPI LTC_get_last_error_code();

return value: error number

This function is a function which ascertain a cause of function error after functions of LTCustomizer21 failed immediately. To know detail, refer to parts of #define LTCE_ ... in LTC.h . If return value is 0, it means that there isn't detail error message.