【问题标题】:Com error 0x800401F3 when trying to create Addin in Enterprise Architect EA尝试在 Enterprise Architect EA 中创建插件时出现 Com 错误 0x800401F3
【发布时间】:2017-09-17 10:22:34
【问题描述】:

我正在尝试在 EA 中创建插件

-Assembly 通过 Assembly info 在 COM 中可见

-项目已注册 COM 互操作

使用 MS VS C# 2015、.Net 4 和 EA 13。但按照下面教程中的所有步骤操作后,我遇到了这个错误:Missing (0x800401f3)。

enter image description here

创建 EA 插件的教程: https://bellekens.com/2011/01/29/tutorial-create-your-first-c-enterprise-architect-addin-in-10-minutes/

感谢您的帮助。

【问题讨论】:

    标签: c# com enterprise


    【解决方案1】:

    我遇到了类似的问题。我的问题是COM interop 没有在注册表中将我的dll 注册到HKEY_CLASSES_ROOT。尝试检查您的注册表中是否存在HKEY_CLASSES_ROOT/projectname.classname

    你可以通过这个工具检查 EA 插件:https://github.com/EXploringEA/EAInstallationInspector 在我的案例中,工具显示this

    【讨论】:

      【解决方案2】:

      在我的网站上解决了这个问题:Win7 / EA12.1:HK_CURRENT_USER 的注册表项中有一个“0”作为值。删除该值解决了这个问题。现在所有加载项都被标记为“启用”。

      http://sparxsystems.com/forums/smf/index.php/topic,37755.msg235804.html#msg235804 回复#6

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2014-09-03
        • 2019-03-10
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多