views:

22

answers:

2

Where can I find documentation that describes the meaning of error codes returned by regsvr32, such as 0x80070716?

A: 

I think it means you don't have adequate permissions. See winerror.h:

#define FRS_ERR_INSUFFICIENT_PRIV        8007L

And this on interpreting HRESULTs.

Edit:

Wrong bits, it's actually:

#define ERROR_RESOURCE_NAME_NOT_FOUND    1814L
bshields
Ah, I think it's the lower two bytes which are significant: 0x0716.
emddudley
Yup, I edited the answer.
bshields
A: 

The error is defined in winerror.h. As described in the Interpreting HRESULT Values link that bshields provided, the lowest 15 bits are the error code.

In my case the error code is 0x0716, which is 1814L. In winerror.h this error code corresponds to ERROR_RESOURCE_NAME_NOT_FOUND.

emddudley