Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 2 台 PC,它们都运行 Windows XP。两者都使用其 DCOM 接口注册了相同的应用程序。现在我正在尝试从另一台计算机上启动程序。
首先我调用了 CoInitializeSecurity,然后调用了 CoCreateInstanceEx,但结果是 E_ACCESSDENIED。
我确实也运行了 dcomcnfg,让任何人都可以访问,但它没有帮助。
访问是 dcom 下的一个选择...您还需要启动和激活设置...我会点击下一个...
您必须明确添加用户并授予他所有权限。之后它就起作用了。