Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
See the question and my original answer on StackOverflowIf you just need to create an instance of the Media Player, just do this:
WindowsMediaPlayerClass wmp = new WindowsMediaPlayerClass();
WindowsMediaPlayerClass has been created when you imported WMPLib.