I have tried to use the following code:
cd c:\windows\system32
regsvr32.exe dllname.ax
But this is not working for me. How can I register a DLL file on Windows 7 with a 64-bit processor?
I have tried to use the following code:
cd c:\windows\system32
regsvr32.exe dllname.ax
But this is not working for me. How can I register a DLL file on Windows 7 with a 64-bit processor?
Type
regsvr32 name.dll
into the Command Prompt (executed in elevated mode!) and press "Enter." Note thatname.dll
should be replaced with the name of the DLL that you want to register. For example, if you want to register the iexplore.dll, typeregsvr32 iexplore.dll
.Here is how I fixed this issue on a Win7 x64 machine:
1 - error message:
"CoCreateInstance() failed Plkease check your registry entries CLSID{F088EA74-2E87-11D3-B1F3-00C0F03C37D3} and make sure you are logged in as an administrator"
2 - fix procedure:
Hope this helps !
If the DLL is 32 bit:
if the DLL is 64 bit:
Finally I found the solution just run CMD as administrator then write
then write this
I hope that answer will help you
Knowing the error message would be rather valuable. It is meant to provide info, even though it doesn't make any sense to you it does to us. Being forced to guess, I'd say that the DLL is a 32-bit DirectX filter. In which case this should be the proper course of action:
This must be run at an elevated command prompt so that UAC cannot stop the registry access that's required. Ask more questions about this at superuser.com
Open the start menu and type cmd into the search box Hold Ctrl + Shift and press Enter
This runs the Command Prompt in Administrator mode.
Now type:
regsvr32 MyComobject.dll