The DllRegisterServer returns 0x80070005
-
Friday, December 10, 2010 3:42 PM
I coded a H.264 directshow-based decoder. I register it by running the "regsvr32.exe diavc.ax" and it succeeds. But some users report that it fails with the following message:
The module "diavc.ax" was loaded but the call to "DllRegisterServer" failed with error code 0x80070005.
How can I solve the problem?
The next code is the "DllRegisterServer", it is very simple.
STDAPI DllRegisterServer()
{
return AMovieDllRegisterServer2( TRUE );}
All Replies
-
Friday, December 10, 2010 4:18 PM
What are your dependencies? Did you statically link to the CRT to avoid a dependency on the CRT DLL's?
If they are running Vista/Windows 7 make sure they elevate to UAC Administrator privileges before attempting to register.
www.chrisnet.net -
Saturday, December 11, 2010 6:41 AM
Yes, the filter is staticly linked to CRT to avoid a dependency on the CRT dlls.What are your dependencies? Did you statically link to the CRT to avoid a dependency on the CRT DLL's?
If they are running Vista/Windows 7 make sure they elevate to UAC Administrator privileges before attempting to register.
www.chrisnet.net -
Saturday, December 11, 2010 7:45 AMhurric wrote:>>I coded a H.264 directshow-based decoder. I register it by running>the "regsvr32.exe diavc.ax" and it succeeds. But some users report>that it fails with the following message:>>The module "diavc.ax" was loaded but the call to>"DllRegisterServer" failed with error code 0x80070005.That's E_ACCESSDENIED. Does this happen on Vista and Win 7 systems? Ifso, the problem is likely to be UAC and the need for elevation.--Tim Roberts, timr@probo.comProvidenza & Boekelheide, Inc.
Tim Roberts, DDK MVP -
Saturday, December 11, 2010 1:10 PMModerator
Tell your users to launch the command prompt window with a right click, "Run as administrator". The they can enter "regsvr32.exe filtername.ax"
Michel Roujansky, http://www.roujansky.com- Proposed As Answer by kt223 Friday, December 17, 2010 2:28 AM


