I googled and found that 64-bit machine considers SYSTEM32 as a 64-bit dlls folder and SysWOW64 (new folder introduced in the 64-bit machine) considers as 32-bit dll folder. And each of these folder has its own regsvr32.exe. So, if you try using a 64-bit regsvr32.exe, it will give you an error "
Filename.dll is not an executable file and no registration helper is registered for this file type.
".CAUSE: This is because on a 64-bit machine, the default behaviour is to use a 64-bit regsvr32.exe(Which is in System32).
RESOLUTION: To solve this problem, put your dll in the C:\Windows\SysWow64 fodler. Then got to your command window(This should be the one opened from the SysWow64 folder's cmd.exe), run the regsvr32.exe from the path "C:\Windows\SysWow64\" and it will work.
No comments:
Post a Comment