1. <i id='Tq02c'><tr id='Tq02c'><dt id='Tq02c'><q id='Tq02c'><span id='Tq02c'><b id='Tq02c'><form id='Tq02c'><ins id='Tq02c'></ins><ul id='Tq02c'></ul><sub id='Tq02c'></sub></form><legend id='Tq02c'></legend><bdo id='Tq02c'><pre id='Tq02c'><center id='Tq02c'></center></pre></bdo></b><th id='Tq02c'></th></span></q></dt></tr></i><div id='Tq02c'><tfoot id='Tq02c'></tfoot><dl id='Tq02c'><fieldset id='Tq02c'></fieldset></dl></div>
      <bdo id='Tq02c'></bdo><ul id='Tq02c'></ul>
  2. <tfoot id='Tq02c'></tfoot>

    <small id='Tq02c'></small><noframes id='Tq02c'>

    1. <legend id='Tq02c'><style id='Tq02c'><dir id='Tq02c'><q id='Tq02c'></q></dir></style></legend>

      从 c++ com 加载项调用 C#

      calling C# from c++ com add-in(从 c++ com 加载项调用 C#)
        <tfoot id='ejSqE'></tfoot>
            <bdo id='ejSqE'></bdo><ul id='ejSqE'></ul>
              <tbody id='ejSqE'></tbody>
              <i id='ejSqE'><tr id='ejSqE'><dt id='ejSqE'><q id='ejSqE'><span id='ejSqE'><b id='ejSqE'><form id='ejSqE'><ins id='ejSqE'></ins><ul id='ejSqE'></ul><sub id='ejSqE'></sub></form><legend id='ejSqE'></legend><bdo id='ejSqE'><pre id='ejSqE'><center id='ejSqE'></center></pre></bdo></b><th id='ejSqE'></th></span></q></dt></tr></i><div id='ejSqE'><tfoot id='ejSqE'></tfoot><dl id='ejSqE'><fieldset id='ejSqE'></fieldset></dl></div>

              <small id='ejSqE'></small><noframes id='ejSqE'>

              <legend id='ejSqE'><style id='ejSqE'><dir id='ejSqE'><q id='ejSqE'></q></dir></style></legend>

                本文介绍了从 c++ com 加载项调用 C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我有一个用 C++(不是 C++/CLI)编写的 COM 插件.我想从这个 C++ com 库中调用一个 C# 库对象/方法.

                I have a COM add-in written in C++ (not C++ / CLI). I want to call a C# library objects/methods from this C++ com library.

                我想 CCW 在这里出现了,我目前正在阅读.

                I guess the CCW comes into picture here, which i am currently reading about.

                根据您的经验,有没有关于这些内容的快速指示?

                Are there any quick pointers to this stuff from your experience?

                另外,我的 Com 加载项中有一个方法,我希望我的 C# 库代码调用它 - 即方法指针调用.

                Also, i have a method in my Com add-in that i would like my C# library code to call - i.e. a method pointer invocation.

                你能帮我告诉我该怎么做吗 - 即我如何将方法指针传递给 C# 代码,以便以后可以调用它.

                Can you help telling me how i can do this please - i.e. how do i go about passing the method pointer to the C# code so it can call on it later.

                谢谢.

                推荐答案

                我有这个链接给你:
                COM 互操作第 1 部分示例
                从 .Net 环境中创建 DCOM 应用程序:第五部分
                C++ 到 C# 调用

                这篇关于从 c++ com 加载项调用 C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Performance overhead of using attributes in .NET(在 .NET 中使用属性的性能开销)
                Accessing attribute info from DTE(从 DTE 访问属性信息)
                c# Hide a property in datagridview with datasource(c#使用数据源隐藏datagridview中的属性)
                Extract Display name and description Attribute from within a HTML helper(从 HTML 帮助器中提取显示名称和描述属性)
                C# Attributes and their uses(C# 属性及其用途)
                C# - Getting all enums value by attribute(C# - 按属性获取所有枚举值)
                  <tbody id='JxwWs'></tbody>
                <i id='JxwWs'><tr id='JxwWs'><dt id='JxwWs'><q id='JxwWs'><span id='JxwWs'><b id='JxwWs'><form id='JxwWs'><ins id='JxwWs'></ins><ul id='JxwWs'></ul><sub id='JxwWs'></sub></form><legend id='JxwWs'></legend><bdo id='JxwWs'><pre id='JxwWs'><center id='JxwWs'></center></pre></bdo></b><th id='JxwWs'></th></span></q></dt></tr></i><div id='JxwWs'><tfoot id='JxwWs'></tfoot><dl id='JxwWs'><fieldset id='JxwWs'></fieldset></dl></div>

                  • <bdo id='JxwWs'></bdo><ul id='JxwWs'></ul>
                    <legend id='JxwWs'><style id='JxwWs'><dir id='JxwWs'><q id='JxwWs'></q></dir></style></legend>

                      <small id='JxwWs'></small><noframes id='JxwWs'>

                        1. <tfoot id='JxwWs'></tfoot>