gpt4 book ai didi

com - 在 MS Office 64 位下使用 32 位 COM 插件

转载 作者:行者123 更新时间:2023-12-05 01:15:14 25 4
gpt4 key购买 nike

我正在努力将现有的 32 位 COM 插件应用到 64 位 Microsoft Word 2010。

为了使插件对 Word 可见,我使用了 dllsurrogate 方法,正如它描述的那样 here .

问题是现在插件在尝试将其工具栏和菜单添加到 office 时会导致一些奇怪的异常。我无法弄清楚,命令栏引用似乎在不可预知的时刻变得无效是什么。

谁能解释一下?

请注意,当我在 32 位 Microsoft Word 2010 和更旧版本的 Ms Office 下使用相同的插件时,一切都很好。

最佳答案

32 位加载项是 not supported在 64 位上。 Microsoft recommends使用 32 位版本的 Office,除非您遇到 32 位进程的内存限制,这种情况只有在您需要处理非常大的电子表格时才会发生:

The recommendations for which edition of Office 2010 to install are as follows:

  • If users in your organization depend on existing extensions to Office, such as ActiveX controls, third-party add-ins, in-house solutions built on previous versions of Office, or 32-bit versions of programs that interface directly with Office, we recommend that you install 32-bit Office 2010 (the default installation) on computers that are running both 32-bit and 64-bit supported Windows operating systems.

  • If some users in your organization are Excel expert users who work with Excel spreadsheets that are larger than 2 gigabytes (GB), they can install the 64-bit edition of Office 2010. In addition, if you have in-house solution developers, we recommend that those developers have access to the 64-bit edition of Office 2010 so that they can test and update your in-house solutions on the 64-bit edition of Office 2010.

如果你因为内存限制需要使用 64 位版本,你有 the following options :

  • If you have the source code, you can generate a 64-bit version yourself,

  • You can contact the vendor for an updated version,

  • You can search for an alternative solution.

关于com - 在 MS Office 64 位下使用 32 位 COM 插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3945799/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com