Excel-DNA / Excel-DNA/ExcelDna
Excel crash with AccessViolation on shutdown with IntelliSense and no Workbook
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 292
- Avg merge
- 20d 12h
- Merged PRs (30d)
- 1
Description
From https://groups.google.com/g/exceldna/c/QoIb9BkqvJI
>
> While I was going quite successful, last night I came across a strange situation for the first time to find out that if I debug the Excel Dna AddIn, enable the same at the launch of Excel Application, but close the Excel right away without carrying on or opening a book, I face the error:
>
> System.AccessViolationException
> HResult=0x80004003
> Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
> Source=
> StackTrace:
>
>
> Interestingly it is only if I have in my project file the following package installed:
>
>
> With simple AddIn file:
>
> Public Class ExcelDnaAddIn
> Implements IExcelAddIn
>
> Public Sub AutoOpen() Implements IExcelAddIn.AutoOpen
> IntelliSenseServer.Install()
> End Sub
>
> Public Sub AutoClose() Implements IExcelAddIn.AutoClose
> IntelliSenseServer.Uninstall()
> End Sub
> End Class
>
> Any reason and way to resolve the said problem?
Contributor guide
Assessment
This issue has not been assessed yet.