>Now I want to catch those exceptions from the unmanaged lib in my
>application, but preserve the description/info set in my unmanaged
>code.
C# knows nothing about native C++ exception classes (such as
MyExceptionClass). To get anything useful from it you'd have to catch
it in your C++ code and throw a managed exception instead.
>I read something about implementing IErrorInfo and ISupportErrorInfo
>but no idea how I would implement that in my scenario.
Those interfaces are part of the COM error support. But since you're
not calling the C++ code through COM interop it's not really relevant
here.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.