将 32 位 Outlook 加载项重建为 64 位
我有一个与 32 位版本的 Outlook(2003、2007 和 2010)兼容的 Outlook 插件。但当安装在 64 位 Outlook 2010 上时,它会进入非活动加载项列表并被禁用。 因此,我尝试构建与 64 位应用程序相同的插件,以便它可以与 64 位版本的 Outlook 2010 配合使用。但是当我尝试在 64 位配置中编译它时,出现此错误 -
致命错误 C1905:前端和后端不兼容(必须针对相同的处理器)。
谁能告诉我我必须做什么才能成功编译它?
我在 64 位 Windows XP 操作系统上使用 Visual Studio 2005 Pro。
好的。我用 x64 兼容库替换了 x86 兼容库,现在致命错误 C1905 消失了。但编译 64 位代码的另一个问题又出现了。我现在收到警告,提示在 dll 中找不到我导出的用于执行自定义操作的函数。以下是警告消息 -
警告:在自定义操作“操作名称”的模块“输出 dll 路径”中找不到入口点“函数名称”。
这样的警告有四个。我一无所知,因为相同的设置在 32 位配置下工作得很好。
现在构建成功了,但是安装仍然失败。 :(
请帮忙...提前致谢。
I have a Outlook plug-in which is compatible with 32-bit versions of Outlook (2003, 2007 and 2010). But when installed on a 64-bit Outlook 2010, it goes into the inactive add-ins list and is disabled.
So I am trying to build the same plug-in as a 64-bit application so that it works with the 64-bit version of Outlook 2010. But when I try to compile it in 64-bit configuration, I get this error -
fatal error C1905: Front end and back end not compatible (must target same processor).
Can anyone tell me what I must do to compile it successfully?
I am using Visual Studio 2005 Pro on a 64-bit Windows XP OS.
OK. I replaced the x86 compatible lib with a x64 one and now fatal error C1905 has disappeared. But another problem with compiling 64 bit code has popped up. I am getting warnings now suggesting that the functions I had exported to perform custom actions are not found in the dll. Here is the warning message -
WARNING: Entry point 'function name' not found in module 'output dll path' for custom action 'action name'.
There are four such warnings. I am clueless since the same setting worked fine with the 32 bit configuration.
So now build is successful, but the installation still fails.
:(
Please help... thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可能是因为您的链接库路径包含 x86 库而不是 x64。也许这可以帮助:
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c19aea98-9b30-4aaa-b417-596eccb05066/
It may be because your path to linked libraries includes x86 libraries instead of x64. Maybe this can help:
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c19aea98-9b30-4aaa-b417-596eccb05066/