在MS Office的64位应用的32位COM插件 [英] Using 32bit COM addin under MS Office 64 bit

查看:164
本文介绍了在MS Office的64位应用的32位COM插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am struggling to apply an existing 32bit COM addin to 64bit Microsoft Word 2010.

为了使插件可见的字,我已经使用了dllsurrogate法,因为它描述的此处

To make the addin visible to Word, I have used the dllsurrogate-method, as it described here.

现在的问题是,现在的插件引起了一些奇怪的异常时,尝试它的工具栏和菜单添加到办公室的。我想不通,它是什么,它​​似乎是在命令栏引用成为联合国predicable时刻无效。

The problem is that now addin caused some strange exception when tries to add its toolbar and menu to office's. I cannot figure out, what it is, it seems, that the command bar reference became not valid in unpredicable moments.

谁能解释一下吗?

请注意,这everething是好的,当我用在32位微软Word 2010和更旧版本的MS Office相同的插件。

Note, that everething is fine when I use the same addin under 32bit Microsoft Word 2010 and more old versions of Ms Office.

推荐答案

32位加载项是<一href="http://msdn.microsoft.com/en-us/library/ee691831.aspx#odc_office2010_Compatibility32bit64bit_ActiveXControlCOMAddinCompatibility"相对=nofollow>不支持 64位。 Microsoft建议,除非你碰到使用32位版本的Office一个32位的过程,只可能,如果你需要处理非常大S preadsheets发生的内存限制:

32-bit add-ins are not supported on 64-bit. Microsoft recommends to use the 32-bit version of Office unless you run into the memory limitations of a 32-bit process which is only likely to happen if you need to deal with extremely large spreadsheets:

对于其中的Office 2010版本的安装建议如下:

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

      
  • 如果组织中的用户依赖于Office的现有扩展,例如ActiveX控件,第三方加载项,在内部解决方案构建于办公室previous版本或32位版本程序直接与Office界面,我们建议您在运行​​32位,并支持64位Windows操作系统的计算机上安装32位Office 2010(默认安装)。

  • 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.

如果您的组织中某些用户是谁用Excel US preadsheets,比2千兆字节(GB)大的工作,他们可以安装Office 2010的64位版本。此外Excel的专家用户,如果你在内部解决方案开发人员,我们建议让那些开发人员可以访问到Office 2010,让他们可以测试和更新内部解决方案在Office 2010的64位版本的64位版本。

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位版本去你有<一个href="http://msdn.microsoft.com/en-us/library/ee691831.aspx#odc_office2010_Compatibility32bit64bit_ActiveXControlCOMAddinCompatibility"相对=nofollow>下列选项:

If you need to go with the 64-bit version because of the memory limitations you have the following options:

      
  • 如果您有源$ C ​​$ C,可以生成自己的64位版本,

  • 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.

这篇关于在MS Office的64位应用的32位COM插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆