aaOApi_AddClassAttribute return code 80003

I want to add a attribute to a class, when call aaOApi_AddClassAttribute, the return code is 80003.

Parents
  • Do the aaApi_GetLastError* functions not give you the full error information?

    You can call something like this when you want to examine the error stack:

    LONG PWlastError()
    {
    	LONG status = aaApi_GetLastErrorId();
    
    	LPCWSTR errorMessage = aaApi_GetLastErrorMessage();
    	LPCWSTR errorDetail = aaApi_GetLastErrorDetail();
    
    	wcout << L"Status: " << status << endl;
    	if(NULL != errorMessage)
    		wcout << L"Error:  " << errorMessage << endl;
    
    	if(NULL != errorDetail)
    		wcout << L"Detail: " << errorDetail<< endl;
    	return status;
    }
    

Reply
  • Do the aaApi_GetLastError* functions not give you the full error information?

    You can call something like this when you want to examine the error stack:

    LONG PWlastError()
    {
    	LONG status = aaApi_GetLastErrorId();
    
    	LPCWSTR errorMessage = aaApi_GetLastErrorMessage();
    	LPCWSTR errorDetail = aaApi_GetLastErrorDetail();
    
    	wcout << L"Status: " << status << endl;
    	if(NULL != errorMessage)
    		wcout << L"Error:  " << errorMessage << endl;
    
    	if(NULL != errorDetail)
    		wcout << L"Detail: " << errorDetail<< endl;
    	return status;
    }
    

Children