Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Garbage collector causes Excel to crash

$
0
0

Hi,

I have an application designed to target .NET 4.0. The application registers some classes to COM.

I use these classes from Excel VBA.

When I throw a COMException from the application, Excel crashes, pointing to clr.dll (APPCRASH).

Now, in versions 4.0 and 4.5 everything works fine, I throw the exception, the error handler handles it and presents to the user in a message box. However, in 4.5.1 and 4.5.2, Excel would crash.

It is both Excel 2010 and 2013, and I have Windows 7 x64-bit installed, while the application itself s 32-bit.

Thanks in advance!


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>