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

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

      如何进行 RegAsm 以使其涵盖 32 位和 64 位?

      时间:2023-07-26
      <i id='2mmyO'><tr id='2mmyO'><dt id='2mmyO'><q id='2mmyO'><span id='2mmyO'><b id='2mmyO'><form id='2mmyO'><ins id='2mmyO'></ins><ul id='2mmyO'></ul><sub id='2mmyO'></sub></form><legend id='2mmyO'></legend><bdo id='2mmyO'><pre id='2mmyO'><center id='2mmyO'></center></pre></bdo></b><th id='2mmyO'></th></span></q></dt></tr></i><div id='2mmyO'><tfoot id='2mmyO'></tfoot><dl id='2mmyO'><fieldset id='2mmyO'></fieldset></dl></div>

        <tbody id='2mmyO'></tbody>

        1. <small id='2mmyO'></small><noframes id='2mmyO'>

        2. <legend id='2mmyO'><style id='2mmyO'><dir id='2mmyO'><q id='2mmyO'></q></dir></style></legend>

            <tfoot id='2mmyO'></tfoot>
            • <bdo id='2mmyO'></bdo><ul id='2mmyO'></ul>
                本文介绍了如何进行 RegAsm 以使其涵盖 32 位和 64 位?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我有一个 C# 准备的 DLL 文件,我的系统是 Windows 7 64 位.当我应用 RegAsm 时,它不会将注册表添加到 64 位路径,而只会将其添加到 32 位路径.

                I have a DLL file prepared by C# and my system is Windows 7 64-bit. When i apply the RegAsm its not adding the registry to 64-bit path but only adding it to 32-bit path.

                "C:WindowsMicrosoft.NETFramework64v4.0.30319RegAsm.exe" /register /codebase "C:o.dll"
                

                然后,如果我在 regedit.exe 中检查我的 GUID,我会发现它只存在于 32 位注册表路径中:HKEY_CLASSES_ROOTCLSID{...我的 guid 在这里找到 ....}

                then if i check my GUID in regedit.exe i see that i have it only in 32-bit registry path: HKEY_CLASSES_ROOTCLSID{... my guid is found here ....}

                而不是 HKEY_CLASSES_ROOTWow6432NodeCLSID{... not found my guid ...}

                因此,我对此还有其他问题.谁能建议发生了什么以及为什么它不生成 32 位和 64 位注册表项?"

                As a result i have other issues for this. Can anyone please suggest what is going on and why its not making 32-bit and 64-bit registry entries?"

                推荐答案

                你有它倒退.Wow6432Node 是 32 位特定数据所在的位置.使用 32 位 regasm(来自 Framework 目录,而不是 Framework64 目录)在 Wow6432Node 中注册您的组件.

                You have it backwards. The Wow6432Node is where the 32-bit specific data goes. Use the 32-bit regasm (from the Framework directory, not the Framework64 directory) to have your component registered in the Wow6432Node.

                这篇关于如何进行 RegAsm 以使其涵盖 32 位和 64 位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  <tbody id='wOu3C'></tbody>
                <legend id='wOu3C'><style id='wOu3C'><dir id='wOu3C'><q id='wOu3C'></q></dir></style></legend>

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