我得到以下彈出消息框,當我嘗試在Windows應用程序中保存交易檢索COM類工廠組件具有CLSID
Unhandled exception has occured in your application.If you click Continue the application will ignore this error and attempt to continue. if you click Quit, the application wil close immediately.
Retrieving the COM class factory for component with CLSID {7E4A7632-4A0C-BAB6-AO7DACOA765B} failed due to following error:80040154
請注意我在86環境和構建我的應用我的windows應用程序也是在windows xp 32位機器上安裝的 。
在我的代碼中,上面的clsid用於com組件並轉換爲Interop程序集的類。
請讓我知道如何解決在安裝的機器上相同。
您可能需要將該組件安裝到其他機器。 – svick
嗨,但我們只是在形式interop.classname.dll中的dll文件,其中之前將它轉換爲互操作程序集它是classname.dll – user1418827
使用供應商的建議安裝過程來獲取COM組件部署在計算機上。或者重複你所做的任何事情,讓它安裝在你的開發機器上。 interop DLL是問題的非關鍵部分,您只需複製即可。 –