据我所知,我无法在64位进程中加载??32位dll.我有一个32位DLL(VB6组件),没有源代码,加载到Excel自动化宏.我有什么选择?
解决方法
32位加载项在64位上为
not supported.
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.
实际上有一个第四个选项,Microsoft在本文中没有提到:您可以创建一个32位进程外COM服务器,它充当64位宏和传统32位COM组件之间的代理或创建一个COM应用程序.这里提供了一个示例:
07003
(编辑:李大同)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|