64-bit version of Excel Add-In not working

RichardWhiteside-8349 6 Reputation points
2021-11-15T10:55:50.92+00:00

We have an Excel Add-In written in C++ that has been working correctly with 32-bit Excel for some time.
I re-compiled it as a 64-bit dll but Excel says it is not a valid add-in.
The Dependency walker reports a long list of missing dlls that all seem to be part of Windows API. e.g API-MS-WIN-EVENTING-PROVIDER-L1-1-0.DLL.
The Add-In dll was built with Visual Studio 2019. The toolset is v142.
Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.29.30038 is installed on the PC.
I suspect the solution to this problem is just a setting in the IDE. Can anyone tell me what to do?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,032 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RichardWhiteside-8349 6 Reputation points
    2021-11-15T11:31:39.41+00:00

    Dependencies reports 16 missing dll files as shown in the attached screenshot.
    149422-dependencies1.png


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.