Unregister dll fails

  • Thread starter Thread starter jazzman
  • Start date Start date
J

jazzman

Hi,
I have an MMC snap-in dll project, which I have just
upgraded from visual studio 6 to visual studio .NET.
Every works fine, apart from when I try and unregister
the dll using regsvr32 -u, I get:

DllUnregisterServer in MyOne.dll failed.
Return code was: 0x80070005

I have looked up this error and it is something to do
with access to the registry failing, though I am an
administrator, so am not sure that's the reason.

Anyone know why this might happen? Are there any new
proect properties I have to set in .NET to get this to
work (as it used to be fine)?

thanks,
jm
 
The unregistration code is just code in your DLL. You can use normal
debugging techniques to see where it fails.

Ronald Laeremans
Visual C++ team
 
Back
Top