一个关于COM的问题
我用VC的ATL创建一个Component,然后在Server端用Dcomcnfg注册安装,
在client端用C++CoCreateInstanceEx调的时候成功,
但用C#调的时候在CreateInstance的时候异常,
异常信息如下:
Retrieving the COM class factory for remote component with CLSID {7BAA8562-7E04-4361-A702-12DD9A631E0A} from machine ... failed due to the following error: 80040154.
望高手指点!
|