2014-01-16 24 views
0

錯誤信息工作時:得到錯誤與MODI

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

好像COM庫的註冊出了問題的窗口。 轉到將關注DLL文件被放到 的目錄,並嘗試在管理模式下執行命令

REGSVR32 TheConcernedLibrary.dll

,然後嘗試。