How to register a DLL in Windows

You may enter to an error like Class or Component not registered". In this case register the DLL as follows.

 
Not registered warning examples



Run Command Prompt (cmd.exe) run it as administrator, use mouse right button to select administrator


Go to the folder where the DLL is located typically cd \windows\syswow64
Register the corresponding DLL or OCX eg. regsvr32 msstdfmt.dll


Registration succeeded message