Archived Forum Post

Index of archived forum posts

Question:

Excel 2010 (32-bit) on Windows 10 (64-bit)

Jan 19 '17 at 16:22

What ChilkatDotNet files and/or runtime libraries do I distribute to cover an XLL for Excel 2010 (32-bit) running on Windows 10 (64-bit)?

Please advise?

matekus


Answer

Actually -- the Excel Class Module is statically linked -- so no VC++ runtime redist should be required..

Ignore this original response:

Good question -- I'll update the web page where the Excel module is downloaded with this information:

The Excel module is compiled (built) with MSVC++ 2010, and therefore requires the MSVC++ 2010 runtime redist libs to be present on the computer.

(Dear Microsoft: For goodness sake, why don't you just put all the VC++ runtimes in the automatic Windows Updates??? They're not big, and I don't see any security risk. Save millions of hours of peoples lives...)

See http://cknotes.com/chilkat-net-assemblies-matching-visual-studio-versions-to-net-framework-versions-to-vc-runtime-versions/ for links to the Microsoft download URLs for the various runtime redists.


Answer

Just to clarify, what additional libraries should I distribute for each of the following scenarios (using ChilkatDotNet45):

  1. Windows (64) & Excel (32) = MSVC++ 2010, ...?
  2. Windows (64) & Excel (64) = MSVC++ 2010, ...?
  3. Windows (32) & Excel (32) = MSVC++ 2010, ...?

matekus


Answer

I'm confused. Are you using the Chilkat .NET assembly (ChilkatDotNet45.dll), or the Excel Module?

I thought it was the Excel Module: http://www.chilkatsoft.com/excel.asp

Actually -- the Excel Class Module is statically linked -- so no VC++ runtime redist should be required..


Answer

Actually -- the Excel Class Module is statically linked -- so no VC++ runtime redist should be required..


Answer

No. I am using Excel-DNA to create the custom Excel ribbon and required functions and handing off to ChilkatDotNet45 to query a REST API. Everything works swimmingly on my development environment - Windows (64) & Excel (64) but fails gracefully (no errors or warnings) on the customer environment - Windows (64) & Excel (32)?

matekus


Answer

You would need the VC++ 2012 runtime redist. (If using the 32-bit ChilkatDotNet45, then you need the 32-bit runtime. Likewise for 64-bit.)