小编use*_*756的帖子

创建适用于 Windows 7/64 位的 XLL Excel 插件(在 Windows XP/32 上交叉编译)

我不是一名熟练的 Windows 程序员,但多年来我一直在创建并维护 32 位 Windows XP / Excel 的 XLL 插件。我现在想创建一个 Windows 7/64 位版本,但遇到了麻烦 - 我什至无法让 Generic.xll 示例正常工作。

这是我所做的最简单的版本 - 抱歉,这是又长又迂腐。

在我安装了 Visual Studio 2010 Professional 的 Windows XP/32 计算机上:

  • 下载并安装 Microsoft Excel 2013 SDK。

  • 开始菜单 - “打开 Visual Studio x64 交叉工具命令提示符 (2010)”

  • 设置类型=发布

  • SET PLATFORM=x64 // 我认为无论如何这是预设的

  • cd C:\2013 Office System Developer Resources\Excel2013XLLSDK\SAMPLES\FRAMEWRK

  • nmake // 没有错误

  • cd C:\2013 Office System Developer Resources\Excel2013XLLSDK\SAMPLES\GENERIC

  • nmake // 没有错误

  • 将生成的 C:\2013 Office System Developer Resources\Excel2013XLLSDK\SAMPLES\GENERIC\​​x64\RELEASE\GENERIC.xll 复制到 Windows 7/64 计算机可访问的网络文件夹

在 Windows 7/64 …

excel 64-bit xll visual-studio windows-7

5
推荐指数
1
解决办法
4369
查看次数

标签 统计

64-bit ×1

excel ×1

visual-studio ×1

windows-7 ×1

xll ×1