错误讯息:
Retrieving the COM class factory for component with CLSID {56F963EC-6EFC-4A6B-9A1E-5BFE545C89D0} failed due to the following error:
80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
代码:
MODI.Image mi = new MODI.Image(_img);
答案 0 :(得分:0)
似乎com库的注册在Windows上出错了。 转到放置相关dll的目录 并尝试在管理模式下执行命令
regsvr32 TheConcernedLibrary.dll
然后尝试。