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.
return AMovieDllRegisterServer2( TRUE );
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.
hurric 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, email@example.comProvidenza & Boekelheide, Inc.
Tim Roberts, DDK MVP
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