我引用的MSMQ v3可在VS2010 C#項目對象庫時只得到:COM互操作錯誤,沒有註冊類使用MSMQ圖書館
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {0188401C-247A-4FED-99C6-BF14119D7055} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
我已經註冊庫中的參考點:
regsvr32 C:\windows\system32\mqoa.dll
我在想什麼? 假設這樣做,我需要在部署時做些什麼來確保應用程序可以在安裝了MSMQ的其他機器上運行?
測試的兩臺機器都是32位的XP機器,我將調用庫的目標平臺更改爲x86,沒有任何更改。 – mattmck 2010-12-15 22:17:43