Excel-DNA / Excel-DNA/ExcelDna

ExcelDNA sample not working in any bitness / packness - "Cannot be run in DOS mode"

Open
#491 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
292
Avg merge
20d 12h
Merged PRs (30d)
1

Description

Hi Govert,

I am Pavel, CTO from Velixo. We're sponsoring the ExcelDNA project on GitHub, I hoped I could reach out to you directly to troubleshoot, potentially with the client since it reproduces on an XLL from DNA samples.

I built the AsyncHelloWorld-Addin sample on VS2022:

[AsyncHelloWorld-AddIn.zip](https://github.com/Excel-DNA/ExcelDna/files/9238133/AsyncHelloWorld-AddIn.zip)

Basically none of the XLL packages (built in Release | AnyCPU) configuration work for a small subset of our customers.

![image](https://user-images.githubusercontent.com/5159662/182266581-c30e90d8-d30c-4372-b765-3b9ab2606611.png)

They are not on ARM, it's a Windows x86-64 architecture machine.

My findings so far:

- They're on Excel 365.
- Even a barebones ExcelDNA addin does not work, in any bitness. Regardless whether packed or unpacked. This excludes the hypothesis that it's in any way related to missing dependencies in our Velixo add-in.
- Launching Excel as admin doesn't help.
- Their trust centre does not prohibit add-ins.
- The add-ins were built on my machine (x86-64) in Release | AnyCPU mode.
- All problematic clients run a Surface Laptop or another Surface device, however the processor is not ARM. It's Core i5-8250U for one client.
- The client has Trend Micro antivirus installed. Its logs showed nothing and there were no security warnings when opening XLL or unzipping the archive.

I am completely at a loss at this stage and the client is blocked from using our add-in on the new machine.

I was wondering if you could help @govert; if it's beneficial I could loop you into our support conversation with them..

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.