<small id='6oKQa'></small><noframes id='6oKQa'>

      <tfoot id='6oKQa'></tfoot>
      <i id='6oKQa'><tr id='6oKQa'><dt id='6oKQa'><q id='6oKQa'><span id='6oKQa'><b id='6oKQa'><form id='6oKQa'><ins id='6oKQa'></ins><ul id='6oKQa'></ul><sub id='6oKQa'></sub></form><legend id='6oKQa'></legend><bdo id='6oKQa'><pre id='6oKQa'><center id='6oKQa'></center></pre></bdo></b><th id='6oKQa'></th></span></q></dt></tr></i><div id='6oKQa'><tfoot id='6oKQa'></tfoot><dl id='6oKQa'><fieldset id='6oKQa'></fieldset></dl></div>
      <legend id='6oKQa'><style id='6oKQa'><dir id='6oKQa'><q id='6oKQa'></q></dir></style></legend>

          <bdo id='6oKQa'></bdo><ul id='6oKQa'></ul>
      1. 有没有人成功地将免注册 COM 与 .NET 组件一起使用?

        Is anyone successfully using registration-free COM with .NET components?(有没有人成功地将免注册 COM 与 .NET 组件一起使用?)
      2. <i id='lafZd'><tr id='lafZd'><dt id='lafZd'><q id='lafZd'><span id='lafZd'><b id='lafZd'><form id='lafZd'><ins id='lafZd'></ins><ul id='lafZd'></ul><sub id='lafZd'></sub></form><legend id='lafZd'></legend><bdo id='lafZd'><pre id='lafZd'><center id='lafZd'></center></pre></bdo></b><th id='lafZd'></th></span></q></dt></tr></i><div id='lafZd'><tfoot id='lafZd'></tfoot><dl id='lafZd'><fieldset id='lafZd'></fieldset></dl></div>

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

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

              <tbody id='lafZd'></tbody>
              <tfoot id='lafZd'></tfoot>
                <bdo id='lafZd'></bdo><ul id='lafZd'></ul>
                  本文介绍了有没有人成功地将免注册 COM 与 .NET 组件一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  直到最近,我们还在愉快地使用 免注册 COM我们的本机和 .NET COM 组件.然而,我们遇到了一个奇怪的问题,我们的应用程序在 Windows XP SP3 上开始随机崩溃(但不是在 vista 上),因为我们只更改了 .NET 程序集的版本号以从候选发布版移动到发布版.(你不就是讨厌墨菲定律吗?)

                  Until recently, we were happily using registration-free COM for our native and .NET COM components. However, we ran into a weird issue where our application started crashing randomly on windows XP SP3 (but not on vista) after we only changed the version number of a .NET assembly to move from release candidate to release. (Don't you just hate Murphy's law?)

                  经过许多人日和磨牙,我们发现问题是 sxs 中的一个已知错误.dll 在检索有关 .NET 类的信息时会导致堆损坏.有一个热修复程序可以使问题消失,但热修复程序不打算重新分发.

                  After many a lost man-day and teeth grinding, we discovered that the issue was a known bug in sxs.dll which causes heap corruption when retrieving information about a .NET class. There is a hot-fix which makes the issue disappear but hot-fixes are not intended to be redistributed.

                  我们有点难过,免注册 COM 实现中存在如此可怕的错误.有没有人成功地为 .NET 组件使用免注册 COM?您是如何解决这个问题的?

                  We're kinda stumped that there is such a horrible bug in the registration-free COM implementation. Is anyone out there successfully using registration-free COM for .NET components? How did you work around this issue?

                  推荐答案

                  这个问题与SxS如何计算类信息的大小有关.程序集的版本号是此信息的一部分.

                  This issue is related to how SxS calculates the size of the class information. The version number of the assembly is part of this information.

                  由于它使用的是候选发布版本号,也许您的解决方法是使发布的版本号与 RC 版本的长度相同.

                  Since it was working with the release candidate version number, perhaps the workaround for you is to make the version number of the release the same length as the RC release.

                  如果这对您不起作用,则有一个既定流程可以请求修补程序的再分发权限.我会聘请 Microsoft 客户支持来寻求这条路线.

                  If this doesn't work for you, there is an established process for requesting redistribution rights for hotfixes. I would engage Microsoft customer support to pursue this route.

                  这篇关于有没有人成功地将免注册 COM 与 .NET 组件一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Performance overhead of using attributes in .NET(在 .NET 中使用属性的性能开销)
                  Extract Display name and description Attribute from within a HTML helper(从 HTML 帮助器中提取显示名称和描述属性)
                  How can I force the PropertyGrid to show a custom dialog for a specific property?(如何强制 PropertyGrid 显示特定属性的自定义对话框?)
                  Associate attribute with code generated property in .net(将属性与 .net 中的代码生成属性相关联)
                  Attribute to generate compilation error on method call?(在方法调用上生成编译错误的属性?)
                  Can you omit the parenthesis from attributes with no params?(您可以省略没有参数的属性中的括号吗?)

                    <tbody id='enAhS'></tbody>

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

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