You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Can you confirm this with the latest Excel-DNA packages version 1.9.0-alpha2 ?
We did try to mitigate some related problems recently - maybe this is already addressed.
Are you seeing this without a debugger attached?
I have been seeing crashes when the debugger is attached, but not exactly as you describe.
let me try with the 1.9.0-alpha2, sorry was away for a while. just got back. We are seeing it without the debugger attached. we are seeing it when people open the excel sheet. was able to mitigate the problem by creating a feature flag to not run the Intellisense Install or Uninstall. WHat is weird is, it only has a problem in certain pcs even though the Office Build and the Windows build is the same. a sample size of 3 has this problem, while 18 others didnt have any issues
From https://groups.google.com/g/exceldna/c/QoIb9BkqvJI
The text was updated successfully, but these errors were encountered: