Where can I find documentation that describes the meaning of error codes returned by regsvr32, such as 0x80070716?
Asked
Active
Viewed 8,296 times
3
-
For "usual" regsvr32 error codes (1 - 5) see [RegSvr32 exit codes documentation](https://stackoverflow.com/q/22094309/264047) – Alexander Malakhov Feb 03 '21 at 11:23
2 Answers
3
The error is defined in winerror.h
. Microsoft's reference is at System Error Codes.
In my case the error code is 0x0716, which is 1814L. This error code corresponds to ERROR_RESOURCE_NAME_NOT_FOUND
.

sourcenouveau
- 29,356
- 35
- 146
- 243
-
1The link maintenance on MSDN is very poor IMHO - the pages are effectively blank – Andrina Websdale Mar 06 '13 at 00:50
-
Well that's unfortunate. I've edited this answer with an updated link. – sourcenouveau Mar 06 '13 at 01:09
-
In the case of 0x80070716 it's most likely that the resource (.rc) file doesn't include the RGS resource that regsvr32 needs to register and unregister the class in the Windows registry. – E. van Putten Jul 16 '20 at 19:18
1
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
- 3,563
- 16
- 16
-
Ah, I think it's the lower two bytes which are significant: 0x0716. – sourcenouveau Aug 16 '10 at 14:01
-
The link is dead. I guess it was [this](http://msdn.microsoft.com/en-us/library/bb446131.aspx) – Felix Dombek Apr 30 '13 at 13:07