I compiled my C++ project under release mode in Visual Studio 2008. My development OS is Windows XP. The compilation works fine. But when I try to register the Dll using regsvr32
on another machine, which is a Windows 7, this error appear:
dllunregisterserver failed with error code 0x80070005
Anyone call tell me what is wrong?
Did you even try searching on the Internet first? A quick search brought up several results, such as this one:
The error value ‘0x80070005’ means ‘Access Denied’.
This means that an attempt has been made to update part of the registry that you do not have permissions to update.
Check that you have local administration rights.
If you want your dll to be registered only at user level. change Per-user redirection to 'Yes' then your dll will be able to registered for non admin users also.
Go To Project Properties->Linker->Genral->Per-user redirection. to Yes
User contributions licensed under CC BY-SA 3.0