Excel XLL不会注册Excel 2010 64位 [英] Excel XLL does not register for Excel 2010 64-bit
问题描述
全部,
我有一个为Excel 2007开发的XLL,我想在Excel 2010(32位和64位)中重复使用。 XLL是用C#编写的(并包含在ExcelDNA中,是Codeplex中提供的第三方包装器),以提供UDF功能。
我能够在EXCEL 2007和Excel 2010 32位版本中部署和使用此XLL。 我使用函数"registerXLL"在加载项初始化过程中加载XLL。 但是,我无法在Windows 7操作系统下的Excel 2010 64位
环境中注册它。我提供给该功能的路径是有效的,并且在"程序文件(x86)"中。文件夹。
I have a XLL developed for Excel 2007 which I would like to reuse in Excel 2010 (both 32-bit and 64-bit). The XLL is written in C# (and wrapped inside ExcelDNA, a 3rd party wrapper available in codeplex) to provide a UDF functionality. I was able to deploy and use this XLL in both EXCEL 2007 and Excel 2010 32-bit version. I use the function "registerXLL" to load the XLL during the add-in initialization process. However, I was not able to register it in Excel 2010 64-bit environment under Windows 7 OS. The path I provided to the function is valid and is inside "Program files (x86)" folder.
当我通过双击测试单个XLL时,Excel表示它是"无效的加载项"。
When I test the individual XLL by double-clicking on it, Excel said it is "invalid add-in".
我用C ++重写了XLL,结果仍然不成功。
I have re-written the XLL in C++, the result is still unsuccessful.
这个问题是否特定于Excel 2010 64位?或者是否有编写Excel 2010 64位XLL的工作流程?
Is this problem specific to Excel 2010 64-bit? or Is there working process for writing Excel 2010 64-bit XLL?
有人可以提出一些建议,告诉我如何解决这个问题或为什么会这样?
Can someone offer some suggestion as to how I can overcome this problem or why this has happened?
谢谢
Nopparit
推荐答案
AFAIK Excel DNA尚不支持64位Excel。
AFAIK Excel DNA does not yet support 64-bit Excel.
您 应该能够使用excel 2010 SDK来执行此操作
You should be able to use the excel 2010 SDK to do this
http://www.microsoft.com/downloads/en/details.aspx?familyid=9129a28e-d11c-4ac3-aee3 -cbb5496908cf
http://www.microsoft.com/downloads/en/details.aspx?familyid=9129a28e-d11c-4ac3-aee3-cbb5496908cf
(但我还没有亲自尝试过64位支持)
(but I have not yet personally tried the 64-bit support)
这篇关于Excel XLL不会注册Excel 2010 64位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!