0
我想連接自定義RTD客戶端,用C#編寫與第三方RTD服務器。RTD客戶端與第三方RTD服務器:C#
Type rtd;
Object rtdServer = null;
rtd = Type.GetTypeFromProgID("ProgId","WS001");
rtdServer = Activator.CreateInstance(rtd);
其中WS001
是我的機器名,ProgId
是RTD服務器名稱。我得到這個錯誤,
Error: System.Runtime.InteropServices.COMException (0x800706BA): Retrieving the COM class factory for remote component with CLSID {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} from machine "WS001" failed due to the following error: 800706ba "WS001".`
我使用的是Windows 7 64位操作系統。