Info

此问题已关闭。 请重新打开它进行编辑或回答。

Excel add-in crashes after recompiling dll

1 次查看(过去 30 天)
Mark
Mark 2016-3-4
关闭: MATLAB Answer Bot 2021-8-20
Hi,
I created an excel (x64) add-in using Matlab compiler (2015a x64). Everything worked fine with the compiled dll calling correctly from vba and returned correct results. However, I needed to make a minor change in the dll (no interface changes), so I made the change, re-compiled the project with the same settings (not changing version number etc) and re-installed the Excel add-in and now the Workbook crashes when the vba code is called (or even if I open the vba editor from excel. I tried, re-registering the dll, uninstalling the original dll with no success. The only way to recover the workbook is to remove the vbaproject in safe mode and start over...
Please can you tell me how to update an excel add-in dll that is already in a workbook.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by