When calling managed code called from unmanaged code, is it possible to inspect the exception object
Posted
by Danra
on Stack Overflow
See other posts from Stack Overflow
or by Danra
Published on 2010-06-07T06:27:04Z
Indexed on
2010/06/07
6:32 UTC
Read the original article
Hit count: 309
Working with COM interop, I can call a managed function from within unmanaged code. But, this only gives me the HRESULT for the exception, in case a managed exception is thrown.
Is there anyway to further inspect the exception from the unmanaged code? For example, to look at the message contained in the exception object.
Thanks!
© Stack Overflow or respective owner