Trying to register a 32 bit dll on a 64 bit system running Windows fails and gives the error-
The reason :
This happens because even though you intend to access the 32bit version of regsvr by typing regsvr32, it actually opens the default 64 bit regsvr that lies in the system directory(of 64 bit Windows).
That is, when you run regsvr32 to register a dll, you are actually running the 64 bit version by default.
The solution:
Filename.dll is not an executable file and no registration helper is registered for this file type.
The reason :
This happens because even though you intend to access the 32bit version of regsvr by typing regsvr32, it actually opens the default 64 bit regsvr that lies in the system directory(of 64 bit Windows).
That is, when you run regsvr32 to register a dll, you are actually running the 64 bit version by default.
The solution: