Note: When registering a 32 bit DLL, you must run the regsvr32.exe file that exists in SysWOW64. By default, running regsvr32.exe will execute the regsvr32.exe from C:\Windows\System32. That executable is 64 bit, and will fail when trying to load a 32 bit
This does not work on Windows 8.1 x64. The error message "An attempt was made to reference a token that does not exist." will be produced.