Hi,
for .Net 3.5 we created a hook into SetErrorInfo to get additional information of manged COM objects like the callstack.
We implemented the hook like desscribed in this article: http://msdn.microsoft.com/en-us/magazine/cc188710.aspx
But since we need to use .Net 4.0 for our assemblies the hook no longer works. As soon as an exception occurs in the manged COM object we get an access violation to addresses outside of our unmanged programm.
Any ideas how to fix this? Does CLR4 no longer call SetErrorInfo for exceptions?
Best regards,
Harald Binkle
Exchange Server Toolbox |SmartPOP2Exchange | SpamAssassin
JAM Software GmbH
Am Wissenschaftspark.26 * 54296 Trier * Germany
http://www.jam-software.com