C#语言,运行时出现“Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
解决办法:在项目属性里设置“生成”=>“目标平台”为x86而不是默认的ANY CPU.